Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
xgfone committed Aug 20, 2024
1 parent 8a01e1f commit 75cdbe0
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
name: Go
on: push
env:
GO111MODULE: on
jobs:
build:
runs-on: ubuntu-latest
name: Go ${{ matrix.go }}
strategy:
matrix:
go:
- '1.21'
- '1.22'
- '1.23'
- "1.21"
- "1.22"
- "1.23"
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -race -cover
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- run: go test -race -cover

0 comments on commit 75cdbe0

Please sign in to comment.