From 84c8a96a0df05709055edbc3fd6ce3f1d0a8098d Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Thu, 29 Feb 2024 22:13:50 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20CI:=20add=20proper=20names=20to?= =?UTF-8?q?=20steps?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/rust.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 3149b58..2297502 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -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