Skip to content

Commit

Permalink
feat: improve code workflows config
Browse files Browse the repository at this point in the history
  • Loading branch information
houseme committed Jun 13, 2023
1 parent 1eaab87 commit 2ea10fd
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:

build:
runs-on: ubuntu-latest
# strategy set
strategy:
matrix:
go: [ "1.19", "1.20" ]
steps:
- uses: actions/checkout@v3

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

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

0 comments on commit 2ea10fd

Please sign in to comment.