Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei authored Sep 9, 2023
1 parent 18dedb9 commit d5b778a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,19 @@ on:
branches: [ "main" ]

jobs:

build:
runs-on: ubuntu-latest
Test:
strategy:
matrix:
go-version: [1.17.x, 1.18.x, 1.20.x]
os: [ubuntu-latest, windows-latest, macos-11]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: ${{ matrix.go-version }}

- name: Build
run: go build -v ./...
Expand Down

0 comments on commit d5b778a

Please sign in to comment.