Skip to content

Commit f6074ca

Browse files
committed
chore(ci): fix publishing workflow
1 parent 8b59258 commit f6074ca

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,14 @@ jobs:
1515
- uses: actions/checkout@v4
1616

1717
- uses: dtolnay/rust-toolchain@stable
18+
with:
19+
targets: wasm32-unknown-unknown
1820

1921
- uses: Swatinem/rust-cache@v2
22+
with:
23+
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
24+
restore-keys: |
25+
${{ runner.os }}-cargo-
2026
2127
- name: Verify tag version matches Cargo.toml
2228
run: |
@@ -28,7 +34,7 @@ jobs:
2834
fi
2935
3036
- name: Run tests
31-
run: cargo test --all-features
37+
run: cargo test --all-features --locked
3238

3339
- name: Verify package
3440
run: cargo publish --dry-run

0 commit comments

Comments
 (0)