Skip to content

Commit

Permalink
🧹 CI: add proper names to steps
Browse files Browse the repository at this point in the history
  • Loading branch information
vnepogodin committed Feb 29, 2024
1 parent e3c474a commit 84c8a96
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,29 @@ jobs:
- name: Install Packages
run: pacman -Syu clang gcc pciutils --noconfirm --needed

- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
- uses: actions/checkout@v4

- name: Setup toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
components: rustfmt, clippy

- uses: actions-rs/cargo@v1
- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build

- uses: actions-rs/cargo@v1
- name: Run cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets -- -D warnings

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

0 comments on commit 84c8a96

Please sign in to comment.