Skip to content

Commit 41755d8

Browse files
authored
♻️ - Update pipeline (#93)
1 parent 8df4f96 commit 41755d8

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Release
33
on:
44
push:
55
release:
6-
types:
6+
types:
77
- published
88

99
concurrency:
@@ -19,20 +19,20 @@ jobs:
1919
SCCACHE_GHA_ENABLED: "true"
2020
RUSTC_WRAPPER: "sccache"
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
with:
2424
ref: ${{ github.ref }}
2525
- name: setup sccache
26-
uses: mozilla-actions/[email protected].3
26+
uses: mozilla-actions/[email protected].4
2727
with:
28-
version: "v0.4.0"
28+
version: "v0.7.7"
2929
- uses: dtolnay/rust-toolchain@master
3030
with:
3131
toolchain: stable
3232
- name: Install zig
3333
uses: korandoru/setup-zig@v1
3434
with:
35-
zig-version: 0.10.1
35+
zig-version: 0.11.0
3636
- name: Install Rust targets
3737
shell: bash
3838
run: |
@@ -54,7 +54,7 @@ jobs:
5454
mv target/universal2-apple-darwin/release/rewatch ./rewatch-macos
5555
mv target/x86_64-pc-windows-gnu/release/rewatch.exe ./rewatch-windows.exe
5656
57-
- uses: actions/setup-node@v1
57+
- uses: actions/setup-node@v4
5858
with:
5959
always-auth: true
6060
registry-url: "https://registry.npmjs.org"

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ jobs:
1616
- uses: actions/checkout@v3
1717
with:
1818
ref: ${{ github.ref }}
19-
- uses: actions-rs/toolchain@v1
19+
- uses: dtolnay/rust-toolchain@master
2020
with:
2121
toolchain: stable
22-
- uses: actions-rs/cargo@v1
23-
with:
24-
command: build
25-
args: --release
22+
- name: Build
23+
run: cargo build --release
2624
- name: Run unit test
2725
run: cargo test
2826
- name: Install Yarn Dependencies

0 commit comments

Comments
 (0)