-
Notifications
You must be signed in to change notification settings - Fork 338
43 lines (39 loc) · 1.06 KB
/
workspace.yml
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: Workspace
# Check workspace build on merge commit of all PRs.
# Branches are checked better by CircleCI.
on:
pull_request:
env:
RUST_BACKTRACE: 1
jobs:
check-workspace:
name: Check workspace
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.74.0
targets: wasm32-unknown-unknown
components: clippy, rustfmt
- name: "Cache build artifacts"
uses: Swatinem/rust-cache@v2
- name: Check workspace
run: ./devtools/check_workspace.sh
test-workspace:
name: Test workspace
runs-on: ubuntu-24.04
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.74.0
components: rustfmt
- name: "Cache build artifacts"
uses: Swatinem/rust-cache@v2
- name: Test workspace
run: ./devtools/test_workspace.sh