Skip to content

Commit 819ebb7

Browse files
committed
Employ a matrix strategy for the version of the CLI being setup
1 parent 8862ddd commit 819ebb7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Test
22

3-
on: [ push ]
3+
on: [ push, pull_request ]
44

55
jobs:
66
test:
@@ -9,13 +9,14 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [macos-latest, windows-latest, windows-2016, ubuntu-18.04]
12+
version: [1.1.0, 1.0.0]
1213
steps:
1314
- name: Checkout
1415
uses: actions/checkout@v2
1516

1617
- name: Setup gh
1718
uses: ./
1819
with:
19-
version: 1.1.0
20+
version: ${{ matrix.version }}
2021

2122
- run: gh --version

0 commit comments

Comments
 (0)