diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f7bddb5..cc940c0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,13 +12,13 @@ jobs: matrix: os: [windows-latest, ubuntu-latest, macOS-latest] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build run: cargo build --release --verbose - name: Run tests run: cargo test --verbose - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: git-absorb-${{ matrix.os }} path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7010d8d..2c86edb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -94,20 +94,18 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@stable with: - toolchain: ${{ matrix.rust }} - profile: minimal - override: true + toolchain: ${{ matrix.toolchain }} target: ${{ matrix.target }} - name: Build release binary - uses: actions-rs/cargo@v1 + uses: clechasseur/rs-cargo@v2 with: - use-cross: ${{ matrix.cross }} + use-cross: ${{ matrix.use-cross }} command: build args: --release --verbose --target ${{ matrix.target }}