File tree Expand file tree Collapse file tree 6 files changed +26
-187
lines changed Expand file tree Collapse file tree 6 files changed +26
-187
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- # Run a job to ensure formatting is OK
1
+ # Run a job to ensure Demo is OK
2
2
name : Run demo
3
3
on :
4
4
pull_request :
14
14
runs-on : ubuntu-latest
15
15
steps :
16
16
- name : Checkout
17
- uses : actions/checkout@v3
17
+ uses : actions/checkout@v4
18
18
19
19
- name : Run Demo
20
20
run : ./demo/run_demo.sh
Original file line number Diff line number Diff line change 13
13
contents : write
14
14
steps :
15
15
- name : Checkout
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
18
18
- name : Install mdbook
19
19
run : cargo install mdbook --version "^0.4" --locked
Original file line number Diff line number Diff line change 11
11
runs-on : ubuntu-latest
12
12
steps :
13
13
- name : Checkout
14
- uses : actions/checkout@v3
14
+ uses : actions/checkout@v4
15
15
16
16
- name : Run Rust Format
17
- run : cargo fmt --check
17
+ run : ./x fmt --check
Original file line number Diff line number Diff line change 6
6
workflow_dispatch : # Allow manual dispatching
7
7
pull_request :
8
8
9
+ defaults :
10
+ run :
11
+ shell : bash
12
+
9
13
jobs :
10
- compile-test :
11
- name : Rust Compiler Tests
14
+ msrv :
15
+ name : MSRV Nightly Tests
12
16
runs-on : ubuntu-latest
13
17
steps :
14
- - name : Checkout
15
- uses : actions/checkout@v3
16
-
17
- - name : Install latest nightly
18
- uses : actions-rs/toolchain@v1
18
+ - uses : actions/checkout@v4
19
+ - uses : dtolnay/rust-toolchain@master
19
20
with :
20
- toolchain : nightly
21
-
22
- - name : Test local suites
23
- run : ./.github/scripts/run_own_tests.sh
24
- env :
25
- TOOLS_BIN : " /tmp/smir/bin"
21
+ # Note that this is the release date, which means the downloaded version is 2025-08-09.
22
+ toolchain : nightly-2025-08-10
23
+ components : rust-src
24
+ - run : ./x test
26
25
27
- - name : Test rustc suites
28
- run : ./.github/scripts/run_rustc_tests.sh
29
- env :
30
- RUST_REPO : " /tmp/rustc"
31
- TOOLS_BIN : " /tmp/smir/bin"
32
- # Don't fail CI for now. See: https://github.com/rust-lang/project-stable-mir/issues/39
33
- continue-on-error : true
26
+ latest :
27
+ name : Latest Nightly Tests
28
+ runs-on : ubuntu-latest
29
+ steps :
30
+ - uses : actions/checkout@v4
31
+ - uses : dtolnay/rust-toolchain@nightly
32
+ with :
33
+ components : rust-src
34
+ - run : ./x test
You can’t perform that action at this time.
0 commit comments