Bump wasmprinter from 0.244.0 to 0.245.1 #548
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| BINARYEN_VERSION: 122 | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Cargo Target Cache | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: target | |
| key: cargo-target-${{ hashFiles('Cargo.toml') }} | |
| restore-keys: | | |
| cargo-target-${{ hashFiles('Cargo.toml') }} | |
| cargo-target | |
| - name: Run cargo fmt | |
| run: cargo fmt --check | |
| - name: Run clippy | |
| run: cargo clippy --all-features -- -D warnings | |
| - name: Run clippy (wasm32-unknown-unknown target) | |
| run: cargo clippy --target wasm32-unknown-unknown --all-features --workspace --exclude shopify_function_trampoline --exclude integration_tests -- -D warnings | |
| - name: Run clippy (tests) | |
| run: cargo clippy --tests --all-features | |
| - name: Run clippy (benches) | |
| run: cargo clippy --benches --all-features | |
| - name: Run clippy (examples) | |
| run: cargo clippy --examples --all-features | |
| - name: Run clippy (examples, wasm32-unknown-unknown target) | |
| run: cargo clippy --examples --target wasm32-unknown-unknown --all-features | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Cargo Cache | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: ~/.cargo | |
| key: cargo-${{ hashFiles('Cargo.toml') }} | |
| restore-keys: | | |
| cargo-${{ hashFiles('Cargo.toml') }} | |
| cargo | |
| - name: Cargo Target Cache | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: target | |
| key: cargo-target-${{ hashFiles('Cargo.toml') }} | |
| restore-keys: | | |
| cargo-target-${{ hashFiles('Cargo.toml') }} | |
| cargo-target | |
| - name: Run tests | |
| run: cargo test | |
| - name: Run tests (examples) | |
| run: cargo test --examples | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Cargo Target Cache | |
| uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3 | |
| with: | |
| path: target | |
| key: cargo-target-${{ hashFiles('Cargo.toml') }} | |
| restore-keys: | | |
| cargo-target-${{ hashFiles('Cargo.toml') }} | |
| cargo-target | |
| - name: Build | |
| run: cargo build --release --all-features |