This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new dd1d0b0 More Cleanup on github actions (#226)
dd1d0b0 is described below
commit dd1d0b0bc6b45f5c07c611e882b5df3608039104
Author: Kit Chan <[email protected]>
AuthorDate: Tue May 21 06:59:10 2024 -0700
More Cleanup on github actions (#226)
* Update go.mod.yml
* Update go.vet.yml
* Update golangci-lint.yml
* Update trivy.yml
---
.github/workflows/go.mod.yml | 4 ++--
.github/workflows/go.vet.yml | 4 ++--
.github/workflows/golangci-lint.yml | 2 +-
.github/workflows/trivy.yml | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/go.mod.yml b/.github/workflows/go.mod.yml
index a26fcce..e63fb51 100644
--- a/.github/workflows/go.mod.yml
+++ b/.github/workflows/go.mod.yml
@@ -40,9 +40,9 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: go-version
- run: echo "::set-output name=value::$(cat GO_VERSION)"
+ run: echo "value=$(cat GO_VERSION)" >>$GITHUB_OUTPUT
id: go-version
- - uses: actions/setup-go@v2
+ - uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.value }} # The Go version to
download (if necessary) and use.
- name: go mod
diff --git a/.github/workflows/go.vet.yml b/.github/workflows/go.vet.yml
index 3e2c0b1..1a8f139 100644
--- a/.github/workflows/go.vet.yml
+++ b/.github/workflows/go.vet.yml
@@ -40,9 +40,9 @@ jobs:
- name: Checkout
uses: actions/checkout@master
- name: go-version
- run: echo "::set-output name=value::$(cat GO_VERSION)"
+ run: echo "value=$(cat GO_VERSION)" >>$GITHUB_OUTPUT
id: go-version
- - uses: actions/setup-go@v2
+ - uses: actions/setup-go@v5
with:
go-version: ${{ steps.go-version.outputs.value }} # The Go version to
download (if necessary) and use.
- name: go vet
diff --git a/.github/workflows/golangci-lint.yml
b/.github/workflows/golangci-lint.yml
index f75639a..678954d 100644
--- a/.github/workflows/golangci-lint.yml
+++ b/.github/workflows/golangci-lint.yml
@@ -46,7 +46,7 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: go-version
- run: echo "::set-output name=value::$(cat GO_VERSION)"
+ run: echo "value=$(cat GO_VERSION)" >>$GITHUB_OUTPUT
id: go-version
- uses: actions/setup-go@v5
with:
diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml
index 49a5849..a0a41a6 100644
--- a/.github/workflows/trivy.yml
+++ b/.github/workflows/trivy.yml
@@ -32,7 +32,7 @@ jobs:
runs-on: "ubuntu-22.04"
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
@@ -42,6 +42,6 @@ jobs:
output: 'trivy-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
- uses: github/codeql-action/upload-sarif@v2
+ uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'