Skip to content

Commit 25811d8

Browse files
authored
Merge pull request #305 from jonhoo/ci-bump
Ci bump
2 parents fbf5274 + aa6bb8f commit 25811d8

File tree

3 files changed

+30
-12
lines changed

3 files changed

+30
-12
lines changed

.github/workflows/check.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on:
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
711
name: check
812
jobs:
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
@@ -30,7 +34,7 @@ jobs:
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 }}
@@ -46,7 +50,7 @@ jobs:
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
@@ -59,7 +63,7 @@ jobs:
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 }}

.github/workflows/scheduled.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ on:
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
913
name: rolling
1014
jobs:
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
@@ -32,7 +36,7 @@ jobs:
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

.github/workflows/test.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
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
711
name: test
812
jobs:
913
required:
@@ -13,7 +17,7 @@ jobs:
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 }}
@@ -33,7 +37,7 @@ jobs:
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
@@ -54,7 +58,13 @@ jobs:
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
@@ -68,7 +78,7 @@ jobs:
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

0 commit comments

Comments
 (0)