Skip to content

Commit 6b85dc4

Browse files
committed
Add new arg to linter
1 parent 8450b44 commit 6b85dc4

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)