Skip to content

Commit

Permalink
ci: rustfmt is already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenzel committed Feb 19, 2021
1 parent 2fed5ff commit 69e80fb
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: install stable toolchain with rustfmt
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
- uses: actions/checkout@v1
- name: rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check
- uses: actions/checkout@v1

- name: rustfmt check
uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check

debian_package:
# create a Debian package with cargo deb to distribute the examples
Expand Down

0 comments on commit 69e80fb

Please sign in to comment.