Skip to content

Commit

Permalink
Merge pull request #4794 from grosser/grosser/1.21
Browse files Browse the repository at this point in the history
use single source for go version
  • Loading branch information
karmada-bot committed Apr 10, 2024
2 parents bad778b + a528975 commit d42c2a8
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: setup e2e test environment
uses: nick-fields/retry@v2.9.0
with:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: verify license
run: hack/verify-license.sh
- name: vendor
Expand All @@ -47,7 +47,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada/go.mod
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: compile
run: make all
test:
Expand All @@ -94,7 +94,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: make test
run: make test
- name: Upload coverage to Codecov
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: setup e2e test environment
run: |
export CLUSTER_VERSION=kindest/node:${{ matrix.k8s }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- uses: helm/kind-action@v1.9.0
with:
version: "v0.20.0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-latest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: Install Cosign
uses: sigstore/cosign-installer@v3.4.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-released-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: Install Cosign
uses: sigstore/cosign-installer@v3.4.0
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: Making and packaging
env:
GOOS: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-latest-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/swr-released-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.8
go-version-file: go.mod
- name: build images
env:
REGISTRY: ${{secrets.SWR_REGISTRY}}
Expand Down
1 change: 1 addition & 0 deletions .go-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.21.8
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/karmada-io/karmada

go 1.21
go 1.21.8

require (
github.com/adhocore/gronx v1.6.3
Expand Down

0 comments on commit d42c2a8

Please sign in to comment.