File tree 2 files changed +14
-3
lines changed 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,20 @@ jobs:
102
102
103
103
- uses : ./.github/actions/setup-node
104
104
105
+ - name : Get golangci-lint cache dir
106
+ run : |
107
+ dir=$(golangci-lint cache status | awk '/Dir/ { print $2 }')
108
+ echo "LINT_CACHE_DIR=$dir" >> $GITHUB_ENV
109
+
110
+ - name : golangci-lint cache
111
+ uses : buildjet/cache@v3
112
+ with :
113
+ path : |
114
+ ${{ env.LINT_CACHE_DIR }}
115
+ key : golangci-lint-${{ runner.os }}-${{ hashFiles('**/*.go') }}
116
+ restore-keys : |
117
+ golangci-lint-${{ runner.os }}-
118
+
105
119
# Check for any typos
106
120
- name : Check for typos
107
121
uses : crate-ci/typos@v1.14.12
Original file line number Diff line number Diff line change @@ -199,9 +199,6 @@ issues:
199
199
max-issues-per-linter : 0
200
200
max-same-issues : 0
201
201
202
- new : true
203
- new-from-rev : origin/main
204
-
205
202
run :
206
203
skip-dirs :
207
204
- node_modules
You can’t perform that action at this time.
0 commit comments