Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/actions/go-setup-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
using: "composite"
steps:
- name: Set up Golang
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: ${{ inputs.go-version }}
cache: false
Expand All @@ -37,8 +37,8 @@ runs:

- name: Cache Go dependencies
id: cache_vendor
if: inputs.cache-enabled == 'true'
uses: actions/cache@v4
if: inputs.cache-enabled == 'true' && runner.environment == 'github-hosted'
uses: actions/cache@v5
env:
cache-name: go-cache-vendor
with:
Expand All @@ -48,7 +48,6 @@ runs:
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-${{ env.cache-name }}-
enableCrossOsArchive: true

- name: Resolve package to module & Download dependencies
if: ${{ steps.cache_vendor.outputs.cache-hit != 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-setup-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
golangci-lint run --output.checkstyle.path=golangci-report.xml || true

- name: Upload lint results
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: lint-results
path: golangci-report.xml
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-qa-sec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: Upload test results
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: test-artifacts
path: |
Expand All @@ -110,12 +110,12 @@ jobs:
fetch-depth: 0

- name: Download lint results
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: lint-results

- name: Download test results
uses: actions/download-artifact@v6
uses: actions/download-artifact@v8
with:
name: test-artifacts

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
make build-validator

- name: Save artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v7
with:
name: build
path: |
Expand Down
Loading