File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 9898 - name : Check out code
9999 uses : actions/checkout@v2
100100
101+ - id : golangci_configuration
102+ uses : andstor/file-existence-action@v1
103+ with :
104+ files : .golangci.yaml
105+ - name : Go Lint
106+ if : steps.golangci_configuration.outputs.files_exists == 'true'
107+ uses : golangci/golangci-lint-action@v2
108+ with :
109+ version : v1.42
110+
101111 - name : Install Tools
102112 env :
103113 WOKE_VERSION : v0.13.0
@@ -110,7 +120,7 @@ jobs:
110120 echo '::endgroup::'
111121
112122 echo '::group:: Installing misspell ... https://github.com/client9/misspell'
113- go get github. com/client9/misspell/cmd/ misspell
123+ curl -sfL https://raw.githubusercontent. com/client9/misspell/master/install- misspell.sh | sh -s -- -b "${TEMP_PATH}" 2>&1
114124 echo '::endgroup::'
115125
116126 echo '::group:: Installing woke ... https://github.com/get-woke/woke'
@@ -119,16 +129,6 @@ jobs:
119129
120130 echo "${TEMP_PATH}" >> $GITHUB_PATH
121131
122- - id : golangci_configuration
123- uses : andstor/file-existence-action@v1
124- with :
125- files : .golangci.yaml
126- - name : Go Lint
127- if : steps.golangci_configuration.outputs.files_exists == 'true'
128- uses : golangci/golangci-lint-action@v2
129- with :
130- version : v1.42
131-
132132 - name : misspell
133133 shell : bash
134134 if : ${{ always() }}
You can’t perform that action at this time.
0 commit comments