File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 10
10
runs-on : ubuntu-latest
11
11
steps :
12
12
- uses : actions/checkout@v4
13
+ - name : Rust Cache
14
+
15
+ with :
16
+ # reasoning: we want to cache xtask, most of the jobs in the matrix will be sped up a good bit thanks to that
17
+ save-if : ${{ github.ref == 'refs/heads/main' }}
18
+ cache-all-crates : true
19
+ - name : Run `cargo xtask init`
20
+ run : |
21
+ cargo xtask init
13
22
- name : Run `cargo xtask bench` and save results
14
23
run : |
15
24
cargo xtask bench > benchmark_results.txt
Original file line number Diff line number Diff line change @@ -1640,13 +1640,6 @@ impl Xtasks {
1640
1640
} ,
1641
1641
} ) ;
1642
1642
1643
- // also run a benchmark
1644
- // on non-main branches this will just dry run
1645
- output. push ( App {
1646
- global_args : default_args. clone ( ) ,
1647
- subcmd : Xtasks :: Bencher { publish : true } ,
1648
- } ) ;
1649
-
1650
1643
// and finally run tests with coverage
1651
1644
output. push ( App {
1652
1645
global_args : default_args
You can’t perform that action at this time.
0 commit comments