-
Notifications
You must be signed in to change notification settings - Fork 22
43 lines (36 loc) · 832 Bytes
/
Copy pathtest.yml
File metadata and controls
43 lines (36 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: test
on:
merge_group:
pull_request:
push:
branches:
- main
jobs:
build:
name: Builds for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
name:
- linux
- macos
include:
- name: linux
os: ubuntu-latest
- name: macos
os: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Setup Cargo Binstall
uses: cargo-bins/cargo-binstall@main
- name: Install Rust Binaries
run: |
cargo binstall -y --force leptosfmt
cargo binstall -y --force trunk
- name: Run Tests
run: make test