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
karmada-bot authored Apr 10, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents bad778b + a528975 commit d42c2a8
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
@@ -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/[email protected]
with:
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -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:
@@ -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:
@@ -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
@@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/cli.yaml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
version: "v0.20.0"
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-latest-image.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
2 changes: 1 addition & 1 deletion .github/workflows/dockerhub-released-image.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/swr-latest-image.yml
Original file line number Diff line number Diff line change
@@ -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}}
2 changes: 1 addition & 1 deletion .github/workflows/swr-released-image.yml
Original file line number Diff line number Diff line change
@@ -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}}
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

0 comments on commit d42c2a8

Please sign in to comment.