-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use go.mod for managing Go tools (#8493)
Signed-off-by: knqyf263 <[email protected]>
- Loading branch information
Showing
12 changed files
with
236 additions
and
105 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,10 +19,8 @@ jobs: | |
go-version-file: go.mod | ||
cache: false | ||
|
||
- name: Install aqua tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: update labels | ||
env: | ||
|
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 |
---|---|---|
|
@@ -18,10 +18,8 @@ jobs: | |
go-version-file: go.mod | ||
cache: false | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Generate image list digest | ||
if: github.ref_name == 'main' | ||
|
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 |
---|---|---|
|
@@ -65,16 +65,19 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Set up Git user | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
aqua_version: v1.25.0 | ||
aqua_opts: "" | ||
go-version-file: go.mod | ||
|
||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Create a PR with Trivy version | ||
run: mage helm:updateVersion | ||
|
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 |
---|---|---|
|
@@ -12,11 +12,13 @@ jobs: | |
- name: Check out code | ||
uses: actions/[email protected] | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
aqua_version: v1.25.0 | ||
aqua_opts: "" | ||
go-version-file: go.mod | ||
|
||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Check if SPDX exceptions are up-to-date | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -81,10 +81,8 @@ jobs: | |
go-version-file: go.mod | ||
cache: false | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Generate image list digest | ||
id: image-digest | ||
|
@@ -118,10 +116,8 @@ jobs: | |
go-version-file: go.mod | ||
cache: false | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Run k8s integration tests | ||
run: mage test:k8s | ||
|
@@ -143,6 +139,7 @@ jobs: | |
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
aqua_opts: "" | ||
|
||
- name: Generate image list digest | ||
id: image-digest | ||
|
@@ -178,10 +175,8 @@ jobs: | |
go-version-file: go.mod | ||
cache: false | ||
|
||
- name: Install tools | ||
uses: aquaproj/[email protected] | ||
with: | ||
aqua_version: v1.25.0 | ||
- name: Install Go tools | ||
run: go install tool # GOBIN is added to the PATH by the setup-go action | ||
|
||
- name: Generate image list digest | ||
id: image-digest | ||
|
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 |
---|---|---|
|
@@ -7,4 +7,4 @@ registries: | |
packages: | ||
- name: tinygo-org/[email protected] | ||
- name: WebAssembly/binaryen@version_112 | ||
- name: magefile/[email protected] | ||
- name: magefile/[email protected] |
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
Oops, something went wrong.