Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lqs authored Dec 29, 2023
1 parent ee105dd commit c2867d8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.19', '1.20', '1.21' ]
steps:
- uses: actions/checkout@v3

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

go-version: ${{ matrix.go-version }}
- name: Display Go version
run: go version
- name: Build
run: go mod init github.com/lqs/sqlingo && go mod tidy && go build -v .

- name: Test
run: go test -v .

0 comments on commit c2867d8

Please sign in to comment.