File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,14 @@ jobs:
4646 with :
4747 version : " ${{ env.GOLANGCI_LINT_VERSION }}"
4848 working-directory : sdk
49- args : -c ../scripts/.golangci.yml
49+ args : -c ../scripts/.golangci.yml --output.json.path > test_results/lint-results.json
5050 skip-cache : true
51- - name : Save lint logs
52- run : |
53- mkdir -p test_results/lint-results.log
54- echo "Linting status: $(grep 'linting' < test_results/lint-results.log | awk '{print $2}')"
5551 - name : Upload artifact
5652 if : success() || failure()
5753 uses : actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808
5854 with :
5955 name : linting-test-results
60- path : test_results/lint-results.log
56+ path : test_results/lint-results.json
6157 retention-days : 1
6258
6359 unit-test :
You can’t perform that action at this time.
0 commit comments