fix(ci): Fix clippy action

macos-click-through
partizan 3 years ago committed by GitHub
parent 5c5cf9088d
commit b6ae0b3c79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,4 +1,4 @@
name: Clippy name: Lint
on: on:
push: push:
@ -15,21 +15,17 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - name: Checkout
uses: actions/checkout@v2
- name: Install Nightly Toolchain
uses: actions-rs/toolchain@v1 - name: Install clippy and runstfmt
with: run: rustup component add clippy rustfmt
profile: minimal
toolchain: nightly - name: Run clippy
components: rustfmt uses: actions-rs/clippy-check@v1
override: true with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Check formatting
run: | - name: Check Formatting
cargo fmt --all -- --check run: |
cargo fmt --all -- --check
- name: Lint with Clippy
uses: actions-rs/clippy-check@v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}

Loading…
Cancel
Save