Skip to content

Commit

Permalink
Merge pull request #16 from jeremmfr/go-1.21
Browse files Browse the repository at this point in the history
golang v1.21
  • Loading branch information
jeremmfr authored Sep 15, 2023
2 parents c034eeb + ccad91e commit 78d4437
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,20 @@ jobs:
id: go
- name: Check out code
uses: actions/checkout@v4
- name: Test
run: go test -race -v ./...

test-1_21:
name: Test 1.21
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: '1.21'
id: go
- name: Check out code
uses: actions/checkout@v3
- name: Test
run: go test -race -v ./... -coverprofile=coverage.out -covermode=atomic

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
name: Run
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
check-latest: true
id: go
- name: Check out code
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ jobs:
name: Run
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.19
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: 1.21
check-latest: true
id: go
- name: Check out code
uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
version: v1.54
args: -c .golangci.yml -v

0 comments on commit 78d4437

Please sign in to comment.