File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ jobs: # example from https://github.com/golangci/golangci-lint-action/tree/main
19
19
- uses : actions/setup-go@v5
20
20
with :
21
21
go-version : ${{ env.GO_VERSION }}
22
- - run : go work init && find . -name go.mod|sed -r 's/(.*)(go.mod)/use \1/g' >> go.work
22
+ - run : go work init && find . -name go.mod|sed -r 's/(.*)(go.mod)/use \1/g' >> go.work # kludge
23
23
- id : set-modules
24
24
run : echo "modules=$(go list -m -json | jq -s '.' | jq -c '[.[].Dir]')" >> $GITHUB_OUTPUT
25
25
@@ -34,6 +34,7 @@ jobs: # example from https://github.com/golangci/golangci-lint-action/tree/main
34
34
- uses : actions/setup-go@v5
35
35
with :
36
36
go-version : ${{ env.GO_VERSION }}
37
+ - run : go work init && find . -name go.mod|sed -r 's/(.*)(go.mod)/use \1/g' >> go.work # kludge
37
38
- name : golangci-lint ${{ matrix.modules }}
38
39
uses : golangci/golangci-lint-action@v8
39
40
with :
You can’t perform that action at this time.
0 commit comments