Skip to content

Commit 54137fe

Browse files
author
Robert Jackson
committed
Simplify labels for matrix builds (remove -latest from all the names)
1 parent ef72c57 commit 54137fe

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/CI.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ env:
1515

1616
jobs:
1717
test:
18-
runs-on: ${{ matrix.os }}
18+
runs-on: "${{ matrix.os }}-latest"
1919

2020
strategy:
2121
matrix:
22-
os: [ubuntu-latest, macOS-latest, windows-latest]
22+
os: [ubuntu, macOS, windows]
2323

2424
steps:
2525
- uses: actions/checkout@v1
@@ -30,16 +30,16 @@ jobs:
3030
- run: npm test
3131

3232
test-specific-volta:
33-
runs-on: ${{ matrix.os }}
33+
runs-on: "${{ matrix.os }}-latest"
3434

3535
strategy:
3636
fail-fast: false
3737
matrix:
3838
volta-version: ["0.9.0","0.8.7","0.7.2","0.6.8"]
39-
os: [ubuntu-latest, macOS-latest, windows-latest]
39+
os: [ubuntu, macOS, windows]
4040
exclude:
4141
# this action didn't support windows until at least Volta 0.7
42-
- os: windows-latest
42+
- os: windows
4343
volta-version: "0.6.8"
4444

4545
steps:
@@ -58,11 +58,11 @@ jobs:
5858

5959

6060
test-no-options:
61-
runs-on: ${{ matrix.os }}
61+
runs-on: "${{ matrix.os }}-latest"
6262

6363
strategy:
6464
matrix:
65-
os: [ubuntu-latest, macOS-latest, windows-latest]
65+
os: [ubuntu, macOS, windows]
6666

6767
steps:
6868
- uses: actions/checkout@v1
@@ -78,15 +78,15 @@ jobs:
7878
- run: tests/check-version.sh 'yarn' '1.19.1'
7979

8080
test-specified-node-yarn-overrides-pinned-versions:
81-
runs-on: ${{ matrix.os }}
81+
runs-on: "${{ matrix.os }}-latest"
8282

8383
defaults:
8484
run:
8585
working-directory: ./action
8686

8787
strategy:
8888
matrix:
89-
os: [ubuntu-latest, macOS-latest, windows-latest]
89+
os: [ubuntu, macOS, windows]
9090

9191
steps:
9292
- uses: actions/checkout@v2
@@ -110,11 +110,11 @@ jobs:
110110
- run: tests/check-version.sh 'yarn' '1.22.0'
111111

112112
test-specific-volta-node-yarn:
113-
runs-on: ${{ matrix.os }}
113+
runs-on: "${{ matrix.os }}-latest"
114114

115115
strategy:
116116
matrix:
117-
os: [ubuntu-latest, macOS-latest, windows-latest]
117+
os: [ubuntu, macOS, windows]
118118

119119
steps:
120120
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)