Update to go1.21

Signed-off-by: Allen Ray <alray@redhat.com>
This commit is contained in:
Allen Ray
2023-09-13 09:34:28 -04:00
parent afade99a79
commit cc130fd2d4
28 changed files with 118 additions and 19 deletions

View File

@@ -12,7 +12,7 @@ jobs:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [self-hosted, Linux, ARM64]
container: golang:1.20-bookworm
container: golang:1.21-bookworm
defaults:
run:
shell: bash

View File

@@ -6,7 +6,7 @@ jobs:
test:
runs-on: ubuntu-latest
container:
image: golang:1.20-bookworm
image: golang:1.21-bookworm
defaults:
run:
shell: bash

View File

@@ -5,7 +5,7 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container: golang:1.20-bookworm
container: golang:1.21-bookworm
defaults:
run:
shell: bash

View File

@@ -27,7 +27,7 @@ jobs:
timeout-minutes: 210
runs-on: ${{ fromJson(inputs.runs-on) }}
container:
image: golang:1.20-bookworm
image: golang:1.21-bookworm
# Required for mounting fuse lazyfs
options: --privileged
defaults:

View File

@@ -17,7 +17,7 @@ jobs:
# this is to prevent the job to run at forked projects
if: github.repository == 'etcd-io/etcd'
runs-on: [self-hosted, Linux, ARM64]
container: golang:1.20-bookworm
container: golang:1.21-bookworm
defaults:
run:
shell: bash

View File

@@ -5,7 +5,7 @@ permissions: read-all
jobs:
test:
runs-on: ubuntu-latest
container: golang:1.20-bookworm
container: golang:1.21-bookworm
defaults:
run:
shell: bash