Refactor CI workflow to replace revive installation with Task setup and update linting command.

This commit is contained in:
2025-12-29 22:10:04 -06:00
parent 99e4d92e8e
commit b630122d78

View File

@@ -21,9 +21,10 @@ jobs:
with:
go-version: '1.25'
- name: Install revive
run: go install github.com/mgechev/revive@latest
- name: Setup Task
uses: https://git.quad4.io/actions/setup-task@0ab1b2a65bc55236a3bc64cde78f80e20e8885c2 # v1
with:
version: '3.46.3'
- name: Run revive
run: |
revive -config revive.toml -formatter stylish ./...
- name: Run lint
run: task lint