diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bbcc1769f..0942d5008 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: rust: ["1.51.0"] steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 # LLVM and Clang - name: Install LLVM and Clang uses: KyleMayes/install-llvm-action@v1 @@ -28,22 +28,13 @@ jobs: directory: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }} # Rust - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: toolchain: ${{ matrix.rust }} # Test - name: Cargo Test (Dynamic) - uses: actions-rs/cargo@v1 - with: - command: test - args: --verbose --features ${{ matrix.clang[1] }} -- --nocapture + run: cargo test --verbose --features ${{ matrix.clang[1] }} -- --nocapture - name: Cargo Test (Runtime) - uses: actions-rs/cargo@v1 - with: - command: test - args: --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture + run: cargo test --verbose --features "${{ matrix.clang[1] }} runtime" -- --nocapture - name: Cargo Run (bindgen-test) - uses: actions-rs/cargo@v1 - with: - command: run - args: --manifest-path bindgen-test/Cargo.toml + run: cargo run --manifest-path bindgen-test/Cargo.toml diff --git a/.github/workflows/ssh.yml b/.github/workflows/ssh.yml index db22ef4da..c17443e29 100644 --- a/.github/workflows/ssh.yml +++ b/.github/workflows/ssh.yml @@ -30,7 +30,7 @@ jobs: directory: ${{ runner.temp }}/llvm-${{ matrix.clang[0] }} # Rust - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable if: github.event.inputs.os == matrix.os with: toolchain: ${{ matrix.rust }}