Skip to content

Commit

Permalink
Update golang to 1.20.5
Browse files Browse the repository at this point in the history
Used the last version of golang, updating the github workflows and the
Dockerfile.

It also includes a update on the ubuntu version.
  • Loading branch information
rnaveiras committed Jun 15, 2023
1 parent 62d6d38 commit 27d67a8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-go@v4
with:
go-version: 1.19.3
go-version: 1.20.5
- uses: actions/setup-node@v3
with:
node-version: 10
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-go@v4
with:
go-version: 1.19.3
go-version: 1.20.5
- name: Ensure no go vet errors
run: |
go vet ./cmd/rbac-manager/...
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-go@v4
with:
go-version: 1.19.3
go-version: 1.20.5
- name: Install ginkgo test runner
run: go install github.com/onsi/ginkgo/ginkgo@v1.16.5
- name: Install Kubebuilder test helpers
Expand All @@ -76,9 +76,11 @@ jobs:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-go@v4
with:
go-version: 1.19.3
go-version: 1.20.5
- name: Build test binaries
run: make bin/acceptance.linux_amd64
# This tools version don't change that often, it would be a good idea use actions/cache.
# maybe same thing with the toolling in the unit-integration
- name: Install tooling
run: |-
sudo bash <<EOF
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: 1.19.3
go-version: 1.20.5
- name: Create tag for new version
run: |
CURRENT_VERSION="v$(cat VERSION)"
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
golang 1.19.3
golang 1.20.5
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Build Go binary without cgo dependencies
FROM golang:1.19.3 as builder
FROM golang:1.20.5 as builder
WORKDIR /go/src/github.com/gocardless/theatre

COPY . /go/src/github.com/gocardless/theatre
RUN make VERSION=$(cat VERSION) build
RUN make VERSION="$(cat VERSION) build"

# Use ubuntu as our base package to enable generic system tools
FROM ubuntu:focal-20211006
FROM ubuntu:jammy-20230522

# Without these certificates we'll fail to validate TLS connections to Google's
# services.
Expand Down

0 comments on commit 27d67a8

Please sign in to comment.