Skip to content

Commit

Permalink
Update action.yml to use latest gotestsum and golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
stonedu1011 authored Aug 12, 2024
1 parent b3910c3 commit ca05754
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/verify/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ runs:
- name: "Run Tests with Coverage"
shell: bash
run: |
make test report SHELL=/bin/bash ARGS="-covermode atomic -coverpkg ${{ inputs.coverpkg || './pkg/...' }}"
make test report SHELL=/bin/bash GOTESTSUM_FORMAT="github-actions" ARGS="-covermode atomic -coverpkg ${{ inputs.coverpkg || './pkg/...' }}"
go tool cover -func=dist/coverage.out -o dist/coverage-func.out
- name: "Code Quality Analysis"
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
version: v1.59.1
args: -c=build/ci/golangci.yml --timeout=10m --issues-exit-code=${{ inputs.fail_on_lint_issues == 'true' && 1 || 0 }}
# if fail_on_lint_issues == true, we assume it's a PR verification
only-new-issues: ${{ inputs.fail_on_lint_issues == 'true' && 'true' || 'false' }}
Expand Down

0 comments on commit ca05754

Please sign in to comment.