summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPi-Cla <pirateclip@protonmail.com>2024-11-02 09:45:07 -0600
committerPi-Cla <pirateclip@protonmail.com>2024-11-02 09:45:07 -0600
commit81b2bb620f027b37a6beb1d7c95a63d937275357 (patch)
tree60a6d8f75681fe76d2f49185ff94412000908669
parent1febd629a0a68198fe58c2ef0ee3aa9ca8a17245 (diff)
Bump actions and use not deprecated actions
-rw-r--r--.github/workflows/build.yml4
-rw-r--r--.github/workflows/release.yml12
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 }}