Skip to content

Commit

Permalink
See if upgrading Go fixes CI build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mbfisher committed May 17, 2024
1 parent 566d033 commit cb05fa5
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.
8 changes: 4 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/[email protected]
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.22.3
- uses: actions/setup-node@v3
with:
node-version: 10
Expand All @@ -44,7 +44,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.22.3
- name: Ensure no go vet errors
run: |
make vet
Expand All @@ -55,7 +55,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.22.3
- name: Install go tooling and setup-envtest
run: |
make install-tools
Expand All @@ -70,7 +70,7 @@ jobs:
- uses: actions/[email protected]
- uses: actions/setup-go@v4
with:
go-version: 1.20.5
go-version: 1.22.3
- name: Build test binaries
run: make bin/acceptance.linux
- name: Install tooling
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.20.5
go-version: 1.22.3
- 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.20.5
golang 1.22.3
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build Go binary without cgo dependencies
FROM golang:1.20.5 as builder
FROM golang:1.22.3 as builder
WORKDIR /go/src/github.com/gocardless/theatre

COPY . /go/src/github.com/gocardless/theatre
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,7 @@ all the necessary dependencies:

```shell
make install-tools-homebrew
make install-tools-kubebuilder
make install-tools
sudo mkdir /usr/local/kubebuilder
curl -fsL "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_$(go env GOOS)_$(go env GOARCH).tar.gz" | \
sudo tar -xvz --strip=1 -C /usr/local/kubebuilder
export KUBEBUILDER_ASSETS=/usr/local/kubebuilder/bin
```

## Local development environment
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/gocardless/theatre/v3

go 1.19
go 1.22.0

require (
cloud.google.com/go/pubsub v1.17.1
Expand Down

0 comments on commit cb05fa5

Please sign in to comment.