Merge pull request #931 from foresterre/dependabot/cargo/zerocopy-0.7.31 #361
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: "ci-linter" | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- main | |
- staging # for Bors | |
- trying # for Bors | |
merge_group: | |
jobs: | |
linter: | |
name: linter | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
steps: | |
- name: checkout_repo | |
uses: actions/checkout@v4 | |
- name: install_rust | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: clippy | |
- name: check_with_clippy_backend_pixels | |
run: cargo clippy --all-targets --no-default-features --features backend_pixels -- -D warnings | |
- name: check_with_clippy_backend_piston_window | |
run: cargo clippy --all-targets --no-default-features --features backend_piston_window -- -D warnings |