File tree Expand file tree Collapse file tree 3 files changed +30
-12
lines changed
Expand file tree Collapse file tree 3 files changed +30
-12
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7+ # Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
10+ cancel-in-progress : true
711name : check
812jobs :
913 fmt :
1014 runs-on : ubuntu-latest
1115 name : stable / fmt
1216 steps :
13- - uses : actions/checkout@v3
17+ - uses : actions/checkout@v4
1418 with :
1519 submodules : true
1620 - name : Install stable
3034 matrix :
3135 toolchain : [stable, beta]
3236 steps :
33- - uses : actions/checkout@v3
37+ - uses : actions/checkout@v4
3438 with :
3539 submodules : true
3640 - name : Install ${{ matrix.toolchain }}
4650 runs-on : ubuntu-latest
4751 name : nightly / doc
4852 steps :
49- - uses : actions/checkout@v3
53+ - uses : actions/checkout@v4
5054 with :
5155 submodules : true
5256 - name : Install nightly
5963 runs-on : ubuntu-latest
6064 name : ubuntu / stable / features
6165 steps :
62- - uses : actions/checkout@v3
66+ - uses : actions/checkout@v4
6367 with :
6468 submodules : true
6569 - name : Install stable
@@ -75,10 +79,10 @@ jobs:
7579 # https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
7680 strategy :
7781 matrix :
78- msrv : [1.64.0] # clap 4 (via clap_lex)
82+ msrv : [" 1.64.0" ] # clap 4 (via clap_lex)
7983 name : ubuntu / ${{ matrix.msrv }}
8084 steps :
81- - uses : actions/checkout@v3
85+ - uses : actions/checkout@v4
8286 with :
8387 submodules : true
8488 - name : Install ${{ matrix.msrv }}
Original file line number Diff line number Diff line change 66 pull_request :
77 schedule :
88 - cron : ' 7 7 * * *'
9+ # Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
10+ concurrency :
11+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
12+ cancel-in-progress : true
913name : rolling
1014jobs :
1115 # https://twitter.com/mycoliza/status/1571295690063753218
1216 nightly :
1317 runs-on : ubuntu-latest
1418 name : ubuntu / nightly
1519 steps :
16- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
1721 with :
1822 submodules : true
1923 - name : Install nightly
3236 # Unfortunately, hashFiles only works in if on steps, so we reepeat it.
3337 # if: hashFiles('Cargo.lock') != ''
3438 steps :
35- - uses : actions/checkout@v3
39+ - uses : actions/checkout@v4
3640 with :
3741 submodules : true
3842 - name : Install beta
Original file line number Diff line number Diff line change 44 push :
55 branches : [main]
66 pull_request :
7+ # Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
10+ cancel-in-progress : true
711name : test
812jobs :
913 required :
1317 matrix :
1418 toolchain : [stable, beta]
1519 steps :
16- - uses : actions/checkout@v3
20+ - uses : actions/checkout@v4
1721 with :
1822 submodules : true
1923 - name : Install ${{ matrix.toolchain }}
3337 runs-on : ubuntu-latest
3438 name : ubuntu / stable / minimal-versions
3539 steps :
36- - uses : actions/checkout@v3
40+ - uses : actions/checkout@v4
3741 with :
3842 submodules : true
3943 - name : Install stable
5458 matrix :
5559 os : [macos-latest, windows-latest]
5660 steps :
57- - uses : actions/checkout@v3
61+ # if your project needs OpenSSL, uncommment this to fix Windows builds.
62+ # it's commented out by default as tthe install command takes 5-10m.
63+ # - run: echo "VCPKG_ROOT=$env:VCPKG_INSTALLATION_ROOT" | Out-File -FilePath $env:GITHUB_ENV -Append
64+ # if: runner.os == 'Windows'
65+ # - run: vcpkg install openssl:x64-windows-static-md
66+ # if: runner.os == 'Windows'
67+ - uses : actions/checkout@v4
5868 with :
5969 submodules : true
6070 - name : Install stable
6878 runs-on : ubuntu-latest
6979 name : ubuntu / stable / coverage
7080 steps :
71- - uses : actions/checkout@v3
81+ - uses : actions/checkout@v4
7282 with :
7383 submodules : true
7484 - name : Install stable
You can’t perform that action at this time.
0 commit comments