From 6de97b63be9af0aadf170261fcbb750856ef61fa Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 29 Oct 2024 14:29:45 +0700 Subject: [PATCH] ci: Update to `actions/checkout` v4 from v2 (#1426) --- .github/workflows/nalgebra-ci-build.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/nalgebra-ci-build.yml b/.github/workflows/nalgebra-ci-build.yml index fbd878e67..e00af7a38 100644 --- a/.github/workflows/nalgebra-ci-build.yml +++ b/.github/workflows/nalgebra-ci-build.yml @@ -13,13 +13,13 @@ jobs: check-fmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Check formatting run: cargo fmt -- --check clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install clippy run: rustup component add clippy - name: Run clippy @@ -29,7 +29,7 @@ jobs: # env: # RUSTFLAGS: -D warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build --no-default-feature run: cargo build --no-default-features; - name: Build (default features) @@ -49,7 +49,7 @@ jobs: build-nalgebra-all-features: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: cargo build --all-features; - run: cargo build -p nalgebra-glm --all-features; test-nalgebra: @@ -66,19 +66,19 @@ jobs: with: toolchain: 1.79.0 override: true - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: test run: cargo test --features arbitrary,rand,serde-serialize,sparse,debug,io,compare,libm,proptest-support,slow-tests,rkyv-safe-deser,rayon; test-nalgebra-glm: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: test nalgebra-glm run: cargo test -p nalgebra-glm --features arbitrary,serde-serialize; test-nalgebra-sparse: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: test nalgebra-sparse # Manifest-path is necessary because cargo otherwise won't correctly forward features # We increase number of proptest cases to hopefully catch more potential bugs @@ -89,7 +89,7 @@ jobs: test-nalgebra-macros: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: test nalgebra-macros run: cargo test -p nalgebra-macros build-wasm: @@ -97,7 +97,7 @@ jobs: # env: # RUSTFLAGS: -D warnings steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: rustup target add wasm32-unknown-unknown - name: build nalgebra run: cargo build --verbose --target wasm32-unknown-unknown; @@ -127,6 +127,6 @@ jobs: docs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Generate documentation run: cargo doc