Skip to content

Commit 3b95af9

Browse files
authored
Merge pull request #128 from Pi-Cla/bump-ci
Bump actions and use not deprecated actions
2 parents 1febd62 + 81b2bb6 commit 3b95af9

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
matrix:
1313
os: [windows-latest, ubuntu-latest, macOS-latest]
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
- name: Build
1717
run: cargo build --release --verbose
1818
- name: Run tests
1919
run: cargo test --verbose
2020
- name: Upload artifact
21-
uses: actions/upload-artifact@v2
21+
uses: actions/upload-artifact@v4
2222
with:
2323
name: git-absorb-${{ matrix.os }}
2424
path: |

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,18 @@ jobs:
9494

9595
steps:
9696
- name: Checkout repository
97-
uses: actions/checkout@v3
97+
uses: actions/checkout@v4
9898

9999
- name: Install Rust
100-
uses: actions-rs/toolchain@v1
100+
uses: dtolnay/rust-toolchain@stable
101101
with:
102-
toolchain: ${{ matrix.rust }}
103-
profile: minimal
104-
override: true
102+
toolchain: ${{ matrix.toolchain }}
105103
target: ${{ matrix.target }}
106104

107105
- name: Build release binary
108-
uses: actions-rs/cargo@v1
106+
uses: clechasseur/rs-cargo@v2
109107
with:
110-
use-cross: ${{ matrix.cross }}
108+
use-cross: ${{ matrix.use-cross }}
111109
command: build
112110
args: --release --verbose --target ${{ matrix.target }}
113111

0 commit comments

Comments
 (0)