-
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (44 loc) · 1.51 KB
/
Copy pathmvp-smoke.yml
File metadata and controls
54 lines (44 loc) · 1.51 KB
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
44
45
46
47
48
49
50
51
52
53
54
# SPDX-License-Identifier: MPL-2.0
name: MVP Smoke (Best Effort)
on:
push:
branches: [main]
pull_request:
branches: [main]
# Cause-B mitigation (#77): cancel superseded runs so stacked pushes
# to the same ref don't pile up identical jobs in the queue.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CARGO_TERM_COLOR: always
jobs:
mvp-smoke:
name: MVP Smoke
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@6d9817901c499d6b02debbb57edb38d33daa680b # stable
with:
toolchain: stable
- name: Cache Cargo
uses: Swatinem/rust-cache@65012b490220f477f20ab979e35ae732e6de4e68 # v2
- name: Install just
uses: taiki-e/install-action@41049aa56687c35e0afa74eed4f09cec4f9afabf # v2.85.2
with:
# Governance R1 requires versioned family-tool pins
# (just|must|trust|adjust|bust|dust|intend); bare `tool: just`
# tripped the Security policy check on every push to main since
# #130 landed (2026-05-30). 1.51.0 is the current upstream stable.
tool: just@1.51.0
- name: Build release
run: cargo build --release
- name: MVP smoke checks (best effort)
run: just --justfile Justfile mvp-env