Skip to content

Commit

Permalink
♻️ - Update pipeline (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfrolich authored Apr 10, 2024
1 parent 8df4f96 commit 41755d8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release
on:
push:
release:
types:
types:
- published

concurrency:
Expand All @@ -19,20 +19,20 @@ jobs:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: setup sccache
uses: mozilla-actions/[email protected].3
uses: mozilla-actions/[email protected].4
with:
version: "v0.4.0"
version: "v0.7.7"
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- name: Install zig
uses: korandoru/setup-zig@v1
with:
zig-version: 0.10.1
zig-version: 0.11.0
- name: Install Rust targets
shell: bash
run: |
Expand All @@ -54,7 +54,7 @@ jobs:
mv target/universal2-apple-darwin/release/rewatch ./rewatch-macos
mv target/x86_64-pc-windows-gnu/release/rewatch.exe ./rewatch-windows.exe
- uses: actions/setup-node@v1
- uses: actions/setup-node@v4
with:
always-auth: true
registry-url: "https://registry.npmjs.org"
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ jobs:
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- uses: actions-rs/toolchain@v1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: stable
- uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Build
run: cargo build --release
- name: Run unit test
run: cargo test
- name: Install Yarn Dependencies
Expand Down

0 comments on commit 41755d8

Please sign in to comment.