diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316463ac9..eecdcb834 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable with: components: rustfmt, clippy @@ -45,7 +45,7 @@ jobs: - python-version: pypy-3.8 platform: { os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" } steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: @@ -84,7 +84,7 @@ jobs: runs-on: ubuntu-latest needs: [lint, check-msrv, examples] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: messense/maturin-action@v1 with: target: aarch64 @@ -92,10 +92,10 @@ jobs: args: --manifest-path examples/simple/Cargo.toml valgrind: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest needs: [lint, check-msrv, examples] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable - uses: Swatinem/rust-cache@v2 continue-on-error: true @@ -110,19 +110,19 @@ jobs: runs-on: ubuntu-latest needs: [lint, check-msrv, examples] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly - uses: Swatinem/rust-cache@v2 continue-on-error: true + - uses: taiki-e/install-action@cargo-careful - run: | pip install numpy ml_dtypes - cargo install --locked cargo-careful cargo careful test --all-features check-msrv: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v4 with: @@ -173,7 +173,7 @@ jobs: examples: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install OpenBLAS run: sudo apt install --yes libopenblas-dev - name: Install Rust @@ -190,7 +190,7 @@ jobs: runs-on: ubuntu-latest needs: [lint, check-msrv, examples] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install numpy run: pip install numpy ml_dtypes - uses: Swatinem/rust-cache@v2 @@ -203,7 +203,7 @@ jobs: - name: Generate code coverage run: cargo llvm-cov --all-features --codecov --output-path coverage.json - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: file: coverage.json fail_ci_if_error: true