Skip to content

Commit 1d7fb8b

Browse files
authored
use 'os' instead of 'platform' for job matrices
It's just a variable name, but the upstream docs now consistently use 'os'. Fixes #8.
1 parent be4332e commit 1d7fb8b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ jobs:
55
strategy:
66
matrix:
77
go-version: [1.13.x, 1.14.x]
8-
platform: [ubuntu-latest, macos-latest, windows-latest]
9-
runs-on: ${{ matrix.platform }}
8+
os: [ubuntu-latest, macos-latest, windows-latest]
9+
runs-on: ${{ matrix.os }}
1010
steps:
1111
- name: Install Go
1212
uses: actions/setup-go@v2

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
go-version: [1.13.x, 1.14.x]
17-
platform: [ubuntu-latest, macos-latest, windows-latest]
17+
os: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{ matrix.platform }}
1919
steps:
2020
- name: Install Go

0 commit comments

Comments
 (0)