From b630122d78c411c7f3b1a2634370c715b2697836 Mon Sep 17 00:00:00 2001 From: Sudo-Ivan Date: Mon, 29 Dec 2025 22:10:04 -0600 Subject: [PATCH] Refactor CI workflow to replace revive installation with Task setup and update linting command. --- .gitea/workflows/revive.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/revive.yml b/.gitea/workflows/revive.yml index bc05c63..37922fb 100644 --- a/.gitea/workflows/revive.yml +++ b/.gitea/workflows/revive.yml @@ -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