From cd1bf3328228ac699242f4eea0cbbda605951b81 Mon Sep 17 00:00:00 2001 From: Gabe Rodriguez Date: Mon, 19 Feb 2024 15:31:15 +0100 Subject: [PATCH] Remove exact cargo.lock requirement (#574) * Fix crate name * Run on main --- .github/workflows/compile-wasm.yml | 11 +++++++---- .github/workflows/turbo-ci.yml | 8 +++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/compile-wasm.yml b/.github/workflows/compile-wasm.yml index 3872006264..a5027319a3 100644 --- a/.github/workflows/compile-wasm.yml +++ b/.github/workflows/compile-wasm.yml @@ -1,5 +1,10 @@ name: Compile WASM -on: [workflow_call, workflow_dispatch] +on: + workflow_call: + workflow_dispatch: + push: + branches: + - main jobs: wasm: @@ -32,9 +37,7 @@ jobs: - uses: jetli/wasm-pack-action@v0.4.0 # 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 diff --git a/.github/workflows/turbo-ci.yml b/.github/workflows/turbo-ci.yml index 31d4474187..5ab924e09b 100644 --- a/.github/workflows/turbo-ci.yml +++ b/.github/workflows/turbo-ci.yml @@ -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