From 44ef9678a4f298f4da4f02a315ae24b7e7a7b0a7 Mon Sep 17 00:00:00 2001 From: Min Kim Date: Wed, 22 May 2024 11:30:36 -0700 Subject: [PATCH] Update CI actions --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa477b7..f6e8780 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,10 @@ jobs: steps: - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: dtolnay/rust-toolchain@master with: - rust-version: ${{ matrix.rust }} - - uses: actions/checkout@master + toolchain: ${{ matrix.rust }} + - uses: actions/checkout@v4 - name: Install Tarpaulin if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable' run: cargo install cargo-tarpaulin @@ -31,16 +31,16 @@ jobs: run: cargo tarpaulin --out Xml --features "intel-mkl-static, serialization" - name: Upload coverage to Codecov if: matrix.os == 'ubuntu-latest' && matrix.rust == 'stable' - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v3 check: runs-on: ubuntu-latest steps: - name: Install Rust - uses: hecrj/setup-rust-action@v1 + uses: dtolnay/rust-toolchain@stable with: - rust-version: stable - - uses: actions/checkout@master + components: clippy, rustfmt + - uses: actions/checkout@v4 - name: Check formatting run: cargo fmt -- --check - name: Clippy