Skip to content

Commit

Permalink
Remove exact cargo.lock requirement (#574)
Browse files Browse the repository at this point in the history
* Fix crate name

* Run on main
  • Loading branch information
grod220 authored Feb 19, 2024
1 parent f285645 commit cd1bf33
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/compile-wasm.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: Compile WASM
on: [workflow_call, workflow_dispatch]
on:
workflow_call:
workflow_dispatch:
push:
branches:
- main

jobs:
wasm:
Expand Down Expand Up @@ -32,9 +37,7 @@ jobs:
- uses: jetli/[email protected] # preinstall wasm-pack
with:
version: 'latest'
- run: cargo generate-lockfile --locked # commit your lockfile
working-directory: packages/wasm/crate
- run: pnpm turbo compile --cache-dir=.turbo # compile wasm
- run: cargo tree --invert mio --edges features # debug tree
- run: cargo tree --invert penumbra-wasm --edges features # debug tree
if: failure()
working-directory: packages/wasm/crate
8 changes: 7 additions & 1 deletion .github/workflows/turbo-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
name: Turbo CI
on: [pull_request, workflow_dispatch]
on:
workflow_call:
workflow_dispatch:
pull_request:
push:
branches:
- main

# this is pretty verbose and repetitive, but github workflows require it
# the first action is commented, most of those comments apply to all actions
Expand Down

0 comments on commit cd1bf33

Please sign in to comment.