Skip to content

Commit

Permalink
Upgrade go versions
Browse files Browse the repository at this point in the history
  • Loading branch information
F21 committed Oct 19, 2023
1 parent 1a072e7 commit 0bf374b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
strategy:
matrix:
go:
- version: "1.20"
- version: "1.21"
report: true
- version: "1.19"
- version: "1.20"
runs-on: ubuntu-latest
steps:
- name: Install code climate
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ services:
- .:/source

test:
image: golang:${GO_VERSION:-1.20}
image: golang:${GO_VERSION:-1.21}
working_dir: /source
command: go test -coverprofile c.out -v ./...
volumes:
- .:/source
- $GOPATH/pkg/mod/cache:/go/pkg/mod/cache

benchmark:
image: golang:${GO_VERSION:-1.20}
image: golang:${GO_VERSION:-1.21}
working_dir: /source
command: go test -bench=. ./...
volumes:
Expand Down

0 comments on commit 0bf374b

Please sign in to comment.