Skip to content

Commit

Permalink
Merge pull request #2 from SYM01/develop
Browse files Browse the repository at this point in the history
update github action
  • Loading branch information
SYM01 authored Dec 7, 2023
2 parents ba260fb + 1c78ca2 commit 39525a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ jobs:
steps:

- name: Set up Go 1.x
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ^1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Build
run: go build -v .
Expand All @@ -29,7 +29,7 @@ jobs:
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic

- name: Codecov
uses: codecov/codecov-action@v1.0.6
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
Expand All @@ -39,12 +39,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.14', '1.13', '1.12', '1.11', '1.10' ]
go: [ '1.21', '1.20', '1.19', '1.18', '1.17', '1.16', '1.15', '1.14' ]
name: Go ${{ matrix.go }} compatibility
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- run: go test -v

0 comments on commit 39525a9

Please sign in to comment.