Update to latest cargo-dist and don't plan on PR #412
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr-push | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build-lint-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# Temporary while https://github.com/rust-lang/rust-clippy/issues/12014 is affecting stable | |
- name: Rustup | |
run: rustup update nightly && rustup default nightly && rustup component add clippy rustfmt | |
- name: Versions | |
run: cargo --version && rustc --version | |
- name: Build | |
run: cargo build --verbose | |
- name: Clippy | |
run: cargo clippy --verbose | |
- name: Format | |
run: cargo fmt --check --verbose | |
- name: Tests | |
run: cargo test --verbose |