Skip to content

Commit 82b45e9

Browse files
authored
Merge pull request #23 from elliotwutingfeng/actions
Bump GitHub Actions versions
2 parents dd74d1e + f4fca54 commit 82b45e9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/go.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Go
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ master ]
67
pull_request:
@@ -9,14 +10,17 @@ on:
910
jobs:
1011

1112
build:
12-
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
os: [macos-latest, windows-latest, ubuntu-latest]
16+
runs-on: ${{ matrix.os }}
1317
steps:
14-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1519

1620
- name: Set up Go
17-
uses: actions/setup-go@v2
21+
uses: actions/setup-go@v4
1822
with:
19-
go-version: '1.20'
23+
go-version-file: './go.mod'
2024

2125
- name: Build
2226
run: go build -v ./...

0 commit comments

Comments
 (0)