Skip to content

Commit b3a5a4d

Browse files
authored
Merge pull request #923 from RedHatInsights/psav/upgrade_golang_1.20
Update golang 1.20
2 parents d24a862 + fe69f1b commit b3a5a4d

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/lint.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,12 @@ jobs:
1919
- name: Display build environment
2020
run: printenv
2121

22-
- uses: actions/setup-go@v3
22+
- uses: actions/setup-go@v4
2323
name: Set up Go 1.x
2424
with:
25-
go-version: 1.19
25+
go-version: "1.20"
26+
env:
27+
GO111MODULE: off
2628

2729
- uses: actions/checkout@v3
2830
name: Checkout clowder

.github/workflows/package.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
steps:
1616
- uses: actions/setup-go@v2
17-
name: Set up golang 1.19
17+
name: Set up golang 1.20
1818
with:
19-
go-version: '1.19.9'
19+
go-version: '1.20.10'
2020
- name: Check out source code
2121
uses: actions/checkout@v2
2222
- name: Run Tests

Dockerfile.base

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM registry.access.redhat.com/ubi8/go-toolset:1.19.13-2.1698062273 as builder
2+
FROM registry.access.redhat.com/ubi8/go-toolset:1.20.10-10 as builder
33
USER 0
44
RUN dnf install -y openssh-clients git make which jq python3
55

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/RedHatInsights/clowder
22

3-
go 1.19
3+
go 1.20
44

55
require (
66
github.com/RedHatInsights/crc-caddy-plugin v0.2.1

0 commit comments

Comments
 (0)