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