Debian Codegraph @

one-ini-wasm/.github/workflows/rust.yml

raw symbols SCIP
1 name: Rust
2
3 on:
4 push:
5 branches: [main]
6 pull_request:
7 branches: [main]
8
9 jobs:
10 test:
11 name: Test on ${{ matrix.os }}
12
13 runs-on: ${{ matrix.os }}
14
15 strategy:
16 matrix:
17 os:
18 - ubuntu-latest
19
20 steps:
21 - name: Preserve line endings
22 run: git config --global core.autocrlf false
23 - name: Checkout
24 uses: actions/checkout@v4
25 - name: Install latest rust stable
26 uses: actions-rs/toolchain@v1
27 with:
28 toolchain: stable
29 override: true
30 profile: minimal
31 - name: Build
32 uses: actions-rs/cargo@v1
33 with:
34 command: build
35 args: --verbose
36 - name: Test
37 uses: actions-rs/cargo@v1
38 with:
39 command: test
40 args: --verbose
41 - name: Install wasm-pack
42 uses: jetli/[email protected]
43 with:
44 version: 'latest'
45 - name: Build wasm/js package
46 run: |
47 cargo clean
48 wasm-pack build --release --scope one-ini --target nodejs