a3223b4f56
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
name: ci-build-vpn-api-wasm
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'common/**'
|
|
- 'nym-credential-proxy/**'
|
|
- '.github/workflows/ci-build-vpn-api-wasm.yml'
|
|
|
|
jobs:
|
|
wasm:
|
|
runs-on: arc-linux-latest
|
|
env:
|
|
CARGO_TERM_COLOR: always
|
|
RUSTUP_PERMIT_COPY_RENAME: 1
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Install Rust toolchain
|
|
uses: actions-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: ${{ vars.REQUIRED_RUSTC_VERSION }}
|
|
target: wasm32-unknown-unknown
|
|
override: true
|
|
components: rustfmt, clippy
|
|
|
|
- name: Install wasm-pack
|
|
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
|
|
|
|
- name: Install wasm-opt
|
|
uses: ./.github/actions/install-wasm-opt
|
|
with:
|
|
version: '116'
|
|
|
|
- name: Install wasm-bindgen-cli
|
|
run: cargo install wasm-bindgen-cli
|
|
|
|
- name: "Build"
|
|
run: make
|
|
working-directory: nym-credential-proxy/vpn-api-lib-wasm
|