We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dd74d1e + f4fca54 commit 82b45e9Copy full SHA for 82b45e9
.github/workflows/go.yml
@@ -1,6 +1,7 @@
1
name: Go
2
3
on:
4
+ workflow_dispatch:
5
push:
6
branches: [ master ]
7
pull_request:
@@ -9,14 +10,17 @@ on:
9
10
jobs:
11
12
build:
- runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ os: [macos-latest, windows-latest, ubuntu-latest]
16
+ runs-on: ${{ matrix.os }}
17
steps:
- - uses: actions/checkout@v2
18
+ - uses: actions/checkout@v4
19
20
- name: Set up Go
- uses: actions/setup-go@v2
21
+ uses: actions/setup-go@v4
22
with:
- go-version: '1.20'
23
+ go-version-file: './go.mod'
24
25
- name: Build
26
run: go build -v ./...
0 commit comments