Skip to content

Commit

Permalink
chore: Upgrade golang version to 1.20.0 (konflux-ci#997)
Browse files Browse the repository at this point in the history
* Upgrade golang version to 1.20

* fix
  • Loading branch information
flacatus authored Jan 15, 2024
1 parent ef0ffa4 commit 96a7c40
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/PR.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Setup Golang
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: 1.19
go-version: '1.20'
- run: go version
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/openshift/release:golang-1.19 AS builder
FROM registry.ci.openshift.org/openshift/release:golang-1.20 AS builder

WORKDIR /github.com/redhat-appstudio/e2e-tests
USER root
Expand Down
2 changes: 1 addition & 1 deletion docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Requirements for installing RHTAP in E2E mode:
``` bash
# Install dependencies
$ go mod tidy
# or go mod tidy -compat=1.19
# or go mod tidy -compat=1.20
```

4. By default the installation script will use the `redhat-appstudio-qe` GitHub organization for pushing changes to `infra-deployments` repository.
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/redhat-appstudio/e2e-tests

go 1.19
go 1.20

require (
github.com/argoproj/argo-cd/v2 v2.8.3
Expand Down Expand Up @@ -330,4 +330,4 @@ require (
sigs.k8s.io/kustomize/api v0.12.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect
)
)
Loading

0 comments on commit 96a7c40

Please sign in to comment.