Skip to content

Commit

Permalink
Rearrange steps in workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
protheory8 committed Aug 8, 2020
1 parent 6c468be commit 71d7dec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install nightly toolchain
run: rustup toolchain install nightly --allow-downgrade --component rustfmt && rustup default nightly
- run: rustup default stable && rustup update
- name: Install libasound2-dev
run: sudo apt-get install -y libasound2-dev
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Install nightly toolchain for rustfmt
run: rustup toolchain install nightly --allow-downgrade --component rustfmt && rustup default nightly
- name: Check formatting
run: cargo fmt -- --check

0 comments on commit 71d7dec

Please sign in to comment.