Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RHCLOUD-33926] upgrade go version into 1.20 #709

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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