Skip to content

Commit b833ecb

Browse files
authored
Bump repository to Go 1.19 (#2884)
Signed-off-by: timflannagan <[email protected]> Signed-off-by: timflannagan <[email protected]>
1 parent 793a7cc commit b833ecb

File tree

14 files changed

+52
-52
lines changed

14 files changed

+52
-52
lines changed

.github/workflows/e2e-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v1
19-
- uses: actions/setup-go@v2
19+
- uses: actions/setup-go@v3
2020
with:
21-
go-version: '~1.18'
21+
go-version-file: "go.mod"
2222
- run: mkdir -p artifacts
2323
- run: make e2e-local E2E_TEST_CHUNK=${{ matrix.parallel-id }} E2E_TEST_NUM_CHUNKS=${{ strategy.job-total }} E2E_NODES=2 ARTIFACT_DIR=./artifacts/ SKIP='\[FLAKE\]'
2424
- name: Archive Test Artifacts # test results, failed or not, are always uploaded.

.github/workflows/flaky-e2e.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v1
15-
- uses: actions/setup-go@v2
15+
- uses: actions/setup-go@v3
1616
with:
17-
go-version: '~1.18'
17+
go-version-file: "go.mod"
1818
- run: mkdir -p artifacts
1919
- run: make e2e-local E2E_NODES=1 TEST='\[FLAKE\]' ARTIFACT_DIR=./artifacts/
2020
- name: Archive Test Artifacts # test results, failed or not, are always uploaded.

.github/workflows/goreleaser.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
with:
1515
fetch-depth: 0
1616
- name: Set up Go
17-
uses: actions/setup-go@v2
17+
uses: actions/setup-go@v3
1818
with:
19-
go-version: '~1.18'
19+
go-version-file: "go.mod"
2020

2121
- name: Get the image tag
2222
if: startsWith(github.ref, 'refs/tags')

.github/workflows/run-kind-local.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: actions/setup-go@v2
12+
- uses: actions/setup-go@v3
1313
with:
14-
go-version: '~1.18'
14+
go-version-file: "go.mod"
1515
- name: Install kind
1616
run: |
1717
curl -sLo kind "$(curl -sL https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | jq -r '[.assets[] | select(.name == "kind-linux-amd64")] | first | .browser_download_url')"

.github/workflows/run-minikube-local.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: actions/setup-go@v2
12+
- uses: actions/setup-go@v3
1313
with:
14-
go-version: '~1.18'
14+
go-version-file: "go.mod"
1515
- name: Install minikube
1616
run: |
1717
sudo apt-get install conntrack

.github/workflows/sanity.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
13-
- uses: actions/setup-go@v2
13+
- uses: actions/setup-go@v3
1414
with:
15-
go-version: '~1.18'
15+
go-version-file: "go.mod"
1616
- name: Run sanity checks
1717
run: make vendor && make diff
1818
lint:

.github/workflows/unit.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v1
15-
- uses: actions/setup-go@v2
15+
- uses: actions/setup-go@v3
1616
with:
17-
go-version: '~1.18'
17+
go-version-file: "go.mod"
1818
- name: Envtest setup
1919
run: |
2020
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest

.github/workflows/verify.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v1
13-
- uses: actions/setup-go@v2
13+
- uses: actions/setup-go@v3
1414
with:
15-
go-version: '~1.18'
15+
go-version-file: "go.mod"
1616

1717
# Note(tflannag): We need to explicitly setup the GOPATH as the generate-internal-groups.sh
1818
# codegen script still relies on $GOPATH being set and will return an error otherwise.

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/operator-framework/operator-lifecycle-manager
22

3-
go 1.18
3+
go 1.19
44

55
require (
66
github.com/blang/semver/v4 v4.0.0

pkg/api/client/clientset/versioned/fake/register.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/api/client/clientset/versioned/scheme/register.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/package-server/client/clientset/internalversion/fake/register.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/package-server/client/clientset/versioned/fake/register.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/package-server/client/clientset/versioned/scheme/register.go

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)