Skip to content

Commit

Permalink
Clean up the clippy and rustfmt entries
Browse files Browse the repository at this point in the history
  • Loading branch information
lu-zero committed Feb 23, 2024
1 parent a167b5a commit c87917c
Showing 1 changed file with 5 additions and 26 deletions.
31 changes: 5 additions & 26 deletions .github/workflows/av-scenechange.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,35 +22,14 @@ jobs:
with:
components: clippy, rustfmt

- name: Install nasm
env:
LINK: http://debian-archive.trafficmanager.net/debian/pool/main/n/nasm
NASM_VERSION: 2.15.05-1
NASM_SHA256: >-
c860caec653b865d5b83359452d97b11f1b3ba5b18b07cac554cf72550b3bfc9
run: |
curl -O "$LINK/nasm_${NASM_VERSION}_amd64.deb"
echo "$NASM_SHA256 nasm_${NASM_VERSION}_amd64.deb" | sha256sum --check
sudo dpkg -i "nasm_${NASM_VERSION}_amd64.deb"
- name: Run rustfmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check --verbose

- name: Lint no-default-features
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --no-default-features
run: |
cargo fmt -- --check --verbose
- name: Lint
uses: actions-rs/clippy-check@v1
- name: Run clippy
uses: clechasseur/rs-clippy-check@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --tests --benches
name: lint
args: -- -D warnings --verbose -A clippy::wrong-self-convention -A clippy::many_single_char_names -A clippy::upper-case-acronyms

build:

Expand Down

0 comments on commit c87917c

Please sign in to comment.