Skip to content

Commit

Permalink
Merge pull request #13 from kpcyrd/update
Browse files Browse the repository at this point in the history
Update dependencies and github actions
  • Loading branch information
kpcyrd authored Oct 9, 2024
2 parents 00e6926 + d7ce959 commit 9b6f039
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 102 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ on:

jobs:
build:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4

- name: 🏗️ Setup build cache
uses: actions/cache@v3
continue-on-error: false
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -38,7 +37,7 @@ jobs:
run: sha256sum target/x86_64-unknown-linux-musl/release/rshijack

- name: 📦 Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: bin
path: target/x86_64-unknown-linux-musl/release/rshijack
Expand Down Expand Up @@ -75,8 +74,7 @@ jobs:
- uses: actions/checkout@v4

- name: 🏗️ Setup build cache
uses: actions/cache@v3
continue-on-error: false
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -100,7 +98,7 @@ jobs:
- name: Stripping binary
run: /usr/${{ matrix.arch.binutils }}/bin/strip target/${{ matrix.arch.name }}/release/rshijack
if: "${{ contains(matrix.arch.name, 'linux') && !matrix.arch.unstripped }}"
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: rshijack-${{ matrix.arch.name }}
path: target/${{ matrix.arch.name }}/release/rshijack
Expand All @@ -110,13 +108,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-22.04]
os: [macos-latest, ubuntu-24.04]
steps:
- uses: actions/checkout@v4

- name: Set up cargo cache
uses: actions/cache@v3
continue-on-error: false
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
Expand All @@ -133,7 +130,7 @@ jobs:
run: cargo test --verbose

fmt:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Run cargo fmt
Expand Down
Loading

0 comments on commit 9b6f039

Please sign in to comment.