Skip to content

Commit

Permalink
ghbuild: install deps for clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
skomski committed Aug 4, 2020
1 parent a708eaa commit 63df520
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/format_and_clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,25 @@ jobs:
format_check:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
with:
components: rustfmt
- uses: actions/checkout@master
- name: Check format
run: cargo fmt --all -- --check
- uses: hecrj/setup-rust-action@v1
with:
components: rustfmt
- uses: actions/checkout@master
- name: Check format
run: cargo fmt --all -- --check

clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
toolchain: nightly
components: clippy
override: true
- name: Install needed deps on linux
run: sudo apt-get install autoconf libtool automake libpulse0 libgtk-3-dev
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --all-targets
args: --all-features --all-targets

0 comments on commit 63df520

Please sign in to comment.