diff options
author | Stephen Jung <tummychow511@gmail.com> | 2024-11-02 17:13:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-02 17:13:35 -0400 |
commit | 3b95af94b44c8644ff55843d3506af54557f8f6e (patch) | |
tree | 60a6d8f75681fe76d2f49185ff94412000908669 | |
parent | 1febd629a0a68198fe58c2ef0ee3aa9ca8a17245 (diff) | |
parent | 81b2bb620f027b37a6beb1d7c95a63d937275357 (diff) |
Merge pull request #128 from Pi-Cla/bump-ci
Bump actions and use not deprecated actions
-rw-r--r-- | .github/workflows/build.yml | 4 | ||||
-rw-r--r-- | .github/workflows/release.yml | 12 |
2 files changed, 7 insertions, 9 deletions
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 }} |