Skip to content

Commit 85fba52

Browse files
committed
Fix workflows
1 parent fa4ceaf commit 85fba52

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,6 @@ jobs:
156156
- run: cargo build -p rune --no-default-features --features alloc
157157
- run: cargo test --all-targets
158158
- run: cargo test --doc
159-
- run: cargo run --bin rune -- check --recursive --experimental scripts
160-
- run: cargo run --bin rune -- test --recursive --experimental scripts --opt include-std
161-
- run: cargo run --bin rune -- test
159+
- run: cargo run --bin rune -- check --recursive --experimental --path scripts
160+
- run: cargo run --bin rune -- test --recursive --experimental --path scripts
161+
- run: cargo run --bin rune -- test --opt include-std

.github/workflows/release.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ on:
1818
- release
1919

2020
env:
21-
KICK_VERSION: "${{github.event.inputs.version}} || nightly"
21+
KICK_VERSION: "${{github.event.inputs.channel}} || nightly"
2222
RUST_LOG: kick=trace
2323

2424
jobs:
@@ -30,11 +30,10 @@ jobs:
3030
- uses: Swatinem/rust-cache@v2
3131
- run: cargo test --all-targets
3232
- run: cargo test --doc
33-
- run: cargo run --bin rune -- check --recursive --experimental scripts
34-
- run: cargo run --bin rune -- test --recursive --experimental scripts
33+
- run: cargo run --bin rune -- check --recursive --experimental --path scripts
34+
- run: cargo run --bin rune -- test --recursive --experimental --path scripts
3535

3636
build:
37-
needs: test
3837
runs-on: ${{matrix.os}}
3938
strategy:
4039
matrix:
@@ -54,7 +53,7 @@ jobs:
5453
path: dist
5554

5655
publish:
57-
needs: build
56+
needs: [test, build]
5857
runs-on: ubuntu-latest
5958
steps:
6059
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)