Skip to content

chore(PocketIC): PocketIC library build on Windows #2

chore(PocketIC): PocketIC library build on Windows

chore(PocketIC): PocketIC library build on Windows #2

name: 'PocketIC library build on Windows'
on:
pull_request:
paths:
- packages/pocket-ic/**
# runs for the same workflow are cancelled on PRs
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
permissions: read-all
jobs:
pocket_ic_library_build_windows:
name: 'PocketIC library build on Windows'
runs-on: windows-2022
steps:
- name: 'Checkout'
uses: actions/checkout@v4
- name: 'Setup Rust and Cargo'
uses: moonrepo/[email protected]
- name: 'cargo clippy'
run: |
cargo clippy --locked --all-features -p pocket-ic --all-targets -- \
-D warnings \
-D clippy::all \
-D clippy::mem_forget \
-C debug-assertions=off
- name: 'cargo build'
shell: pwsh
run: |
cargo build --release --locked -p pocket-ic