Skip to content

Commit

Permalink
Merge pull request #709 from petracihalova/go-upgrade
Browse files Browse the repository at this point in the history
[RHCLOUD-33926]  upgrade go version into 1.20
  • Loading branch information
petracihalova authored Jul 17, 2024
2 parents 8688bb9 + 9914ee7 commit 83d8e12
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.19"
go-version: "1.20"
- uses: Jerome1337/[email protected]

govet:
Expand All @@ -22,7 +22,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.19"
go-version: "1.20"
- run: |
go vet ./...
Expand All @@ -33,7 +33,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.19"
go-version: "1.20"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
Expand All @@ -48,6 +48,6 @@ jobs:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
go-version: "1.19"
go-version: "1.20"
- run: |
go test ./...
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '3'

services:
sources-api-db-setup:
image: golang:1.19
image: golang:1.20
entrypoint: "bash"
command:
- -c
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/RedHatInsights/sources-api-go

go 1.19
go 1.20

require (
github.com/99designs/gqlgen v0.17.49
Expand Down
2 changes: 1 addition & 1 deletion pr_check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export DATABASE_NAME=sources_api_test_go

echo "Running tests...here we go"

export GOROOT="/opt/go/1.19.11"
export GOROOT="/opt/go/1.20.10"
export PATH="${GOROOT}/bin:${PATH}"
make alltest

Expand Down

0 comments on commit 83d8e12

Please sign in to comment.