Skip to content

Commit

Permalink
Upgrade go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasferrandiz committed Sep 4, 2024
1 parent f6f69ca commit 60c23d1
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: build flannel
on: [push, pull_request]

env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"
LINUX_ARCHES: "amd64 arm arm64 s390x ppc64le riscv64"
REPOSITORY: flannel/flannel

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ on:
- cron: '30 20 * * 0'

env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2eTests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: ^1.21
go-version: ^1.22
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Run tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.21"
go-version: "1.22"
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4.0.0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/k3s-e2eTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

env:
ARCH: amd64
GO_VERSION: "1.21"
GO_VERSION: "1.22"
KUBECONFIG: ${HOME}/.kube/config

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"
LINUX_ARCHES: "amd64 arm arm64 s390x ppc64le riscv64"
REPOSITORY: flannel/flannel

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- cron: '34 5 * * 2'

env:
GO_VERSION: "1.21"
GO_VERSION: "1.22"
REPOSITORY: flannel/flannel

permissions:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ else
endif

# Go version to use for builds
GO_VERSION=1.21
GO_VERSION=1.22

# K8s version used for Makefile helpers
K8S_VERSION=1.24.6
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/flannel-io/flannel

go 1.21
go 1.22

// replace github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.2.0

Expand Down

0 comments on commit 60c23d1

Please sign in to comment.