Skip to content

Commit cdc1cd4

Browse files
authored
GitHub Actions: Run Go CI on both Ubuntu and Windows (#41)
1 parent 4bd1bc4 commit cdc1cd4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/go.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,19 @@ name: Go
22

33
on:
44
push:
5-
branches: [ master ]
5+
branches: [master]
66
pull_request:
7-
branches: [ master ]
7+
branches: [master]
88
schedule:
99
- cron: '0 0 * * 0' # weekly
1010

1111
jobs:
1212

1313
build:
14-
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
os: [ubuntu-latest, windows-latest]
17+
runs-on: ${{ matrix.os }}
1518
steps:
1619
- uses: actions/checkout@v2
1720

0 commit comments

Comments
 (0)