File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 - master
1212 - release-*
1313
14- permissions : # added using https://github.com/step-security/secure-workflows
14+ permissions : # added using https://github.com/step-security/secure-workflows
1515 contents : read
1616
1717env :
1818 # Common versions
19- GO_VERSION : ' 1.22'
20- GOLANGCI_VERSION : ' v1.54.2'
19+ GO_VERSION : " 1.22"
20+ GOLANGCI_VERSION : " v1.54.2"
2121
2222jobs :
23-
2423 detect-noop :
2524 runs-on : ubuntu-22.04
2625 outputs :
6463 needs : detect-noop
6564 if : needs.detect-noop.outputs.noop != 'true'
6665 permissions :
67- contents : read # for actions/checkout to fetch code
68- pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
66+ contents : read # for actions/checkout to fetch code
67+ pull-requests : read # for golangci/golangci-lint-action to fetch pull requests
6968
7069 steps :
7170 - name : Setup Go
@@ -128,7 +127,7 @@ jobs:
128127 run : |
129128 export PATH=$(pwd)/bin/:$PATH
130129 make check-diff
131-
130+
132131 - name : Cleanup binary
133132 run : make build-cleanup
134133
@@ -149,7 +148,7 @@ jobs:
149148 go-version : ${{ env.GO_VERSION }}
150149
151150 - name : Cache Go Dependencies
152- uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
151+ uses : actions/cache@v4
153152 with :
154153 path : .work/pkg
155154 key : ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
Original file line number Diff line number Diff line change 55 branches :
66 - master
77 - release-*
8- workflow_dispatch : { }
8+ workflow_dispatch : {}
99 pull_request :
1010 branches :
1111 - master
@@ -16,13 +16,12 @@ permissions:
1616
1717env :
1818 # Common versions
19- GO_VERSION : ' 1.22'
19+ GO_VERSION : " 1.22"
2020
2121jobs :
22-
2322 detect-noop :
2423 permissions :
25- actions : write # for fkirc/skip-duplicate-actions to skip or stop workflow runs
24+ actions : write # for fkirc/skip-duplicate-actions to skip or stop workflow runs
2625 runs-on : ubuntu-22.04
2726 outputs :
2827 noop : ${{ steps.noop.outputs.should_skip }}
5352 submodules : true
5453
5554 - name : Cache Go Dependencies
56- uses : actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84
55+ uses : actions/cache@v4
5756 with :
5857 path : .work/pkg
5958 key : ${{ runner.os }}-pkg-${{ hashFiles('**/go.sum') }}
You can’t perform that action at this time.
0 commit comments