From cb2e4d745a2dc504aa8c3d86fdb2781342ff9904 Mon Sep 17 00:00:00 2001 From: Paul Loyd Date: Thu, 30 May 2024 10:16:12 +0400 Subject: [PATCH] chore(ci): actualize --- .github/workflows/ci.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 861c755..496167d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,13 +15,15 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - run: rustup show active-toolchain -v - run: cargo build --all-targets --all-features rustfmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - run: rustup show active-toolchain -v - run: rustup component add rustfmt - run: cargo fmt --version - run: cargo fmt -- --check @@ -29,13 +31,16 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - run: rustup show active-toolchain -v - run: rustup component add clippy - run: cargo clippy --version - run: cargo clippy --all-targets --all-features test: + needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: cargo test --all-features + - uses: actions/checkout@v4 + - run: rustup show active-toolchain -v + - run: cargo test