forked from pravega/zookeeper-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: bump go version * chore: bump operator version * fix: use go.mod for go version setup * fix: use released version
- Loading branch information
1 parent
45dffc2
commit e27337d
Showing
9 changed files
with
41 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,24 +19,20 @@ jobs: | |
runs-on: | ||
- ubuntu-latest | ||
steps: | ||
- name: Set up Go 1.21 | ||
uses: actions/setup-go@v2 | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.21" | ||
go-version-file: 'go.mod' | ||
id: go | ||
- name: Set up Go for root | ||
run: | | ||
sudo ln -sf `which go` `sudo which go` || true | ||
sudo go version | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v2 | ||
- name: get go version | ||
run: go version | ||
- name: Gofmt and License checks | ||
run: make check | ||
- name: unit tests | ||
run: make test | ||
# This fails | ||
# This fails | ||
# - name: Codecov | ||
# uses: codecov/[email protected] | ||
- name: Set env | ||
|
@@ -77,19 +73,15 @@ jobs: | |
needs: build | ||
if: github.event_name == 'release' && github.event.action == 'created' | ||
steps: | ||
- name: Set up Go 1.21 | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.21" | ||
id: go | ||
- name: Set up Go for root | ||
run: | | ||
sudo ln -sf `which go` `sudo which go` || true | ||
sudo go version | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-tags: true | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version-file: 'go.mod' | ||
id: go | ||
- name: get go version | ||
run: go version | ||
- name: Login to GHCR | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters