File tree Expand file tree Collapse file tree 1 file changed +10
-20
lines changed
Expand file tree Collapse file tree 1 file changed +10
-20
lines changed Original file line number Diff line number Diff line change @@ -118,17 +118,7 @@ jobs:
118118 uses : golangci/golangci-lint-action@v8
119119 with :
120120 version : latest
121- # Ensure linter runs without using any stale caches
122- args : |
123- --timeout=5m
124- --verbose
125- --skip-dirs-use-default
126- --max-issues-per-linter=0
127- --max-same-issues=0
128- run ./...
129- env :
130- GOMODCACHE : ${{ env.GOMODCACHE }}
131- GOCACHE : ${{ env.GOCACHE }}
121+ args : --timeout=5m --verbose --max-issues-per-linter=0 --max-same-issues=0
132122
133123 security :
134124 name : Security Scan
@@ -184,15 +174,15 @@ jobs:
184174 with :
185175 go-version : ${{ env.GO_VERSION }}
186176
187- # - name: Cache Go modules
188- # uses: actions/cache@v4
189- # with:
190- # path: |
191- # ~/.cache/go-build
192- # ~/go/pkg/mod
193- # key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
194- # restore-keys: |
195- # ${{ runner.os }}-go-${{ env.GO_VERSION }}-
177+ - name : Cache Go modules
178+ uses : actions/cache@v4
179+ with :
180+ path : |
181+ ~/.cache/go-build
182+ ~/go/pkg/mod
183+ key : ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}
184+ restore-keys : |
185+ ${{ runner.os }}-go-${{ env.GO_VERSION }}-
196186
197187 - name : Build binary
198188 env :
You can’t perform that action at this time.
0 commit comments