Skip to content

Commit

Permalink
lock file error test
Browse files Browse the repository at this point in the history
  • Loading branch information
bennyhodl committed Jan 3, 2025
1 parent 7b14d35 commit d571b09
Showing 1 changed file with 33 additions and 33 deletions.
66 changes: 33 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,38 +36,38 @@ jobs:
- name: Check docs
run: cargo doc

# wasm:
# name: Build WASM binary
# runs-on: ubuntu-latest
# timeout-minutes: 60
# steps:
# - uses: actions/checkout@v3
# - uses: actions-rs/toolchain@v1
# with:
# toolchain: nightly-2023-10-24
# target: wasm32-unknown-unknown
# override: true
# profile: minimal

# - uses: jetli/[email protected]
# with:
# version: 'v0.12.1'

# - uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/registry
# ~/.cargo/git
# target
# key: cargo-${{ runner.os }}-wasn-tests-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
# restore-keys: |
# cargo-${{ runner.os }}-wasn-tests-
# cargo-${{ runner.os }}-

# - name: Build wasm package
# env:
# RUSTUP_TOOLCHAIN: nightly-2023-10-24
# run: wasm-pack build ./kormir-wasm --release --target web
wasm:
name: Build WASM binary
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
target: wasm32-unknown-unknown
override: true
profile: minimal

- uses: jetli/[email protected]
with:
version: "v0.12.1"

- uses: actions/cache@v2
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: cargo-${{ runner.os }}-wasn-tests-${{ hashFiles('**/Cargo.toml', '**/Cargo.lock') }}
restore-keys: |
cargo-${{ runner.os }}-wasn-tests-
cargo-${{ runner.os }}-
- name: Build wasm package
env:
RUSTUP_TOOLCHAIN: nightly-2023-10-24
run: wasm-pack build ./kormir-wasm --release --target web

wasm_checks:
name: Rust Wasm Checks
Expand All @@ -77,7 +77,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2023-10-24
toolchain: nightly
components: clippy
target: wasm32-unknown-unknown
override: true
Expand Down

0 comments on commit d571b09

Please sign in to comment.