Skip to content

Commit

Permalink
Bump actions and use not deprecated actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Pi-Cla committed Nov 2, 2024
1 parent 1febd62 commit 81b2bb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 81b2bb6

Please sign in to comment.