From fef1611682e2fc1aeee66b617ee542e376881cc8 Mon Sep 17 00:00:00 2001 From: inhere Date: Sat, 14 Sep 2024 19:11:38 +0800 Subject: [PATCH] ci: run revive check only on go1.22 --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 7c1591d..86e08de 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -39,8 +39,8 @@ jobs: # go-version: ${{ matrix.go_version }} - name: Revive check - uses: morphy2k/revive-action@v2.5.10 - if: ${{ matrix.os == 'ubuntu-latest' }} + uses: docker://morphy/revive-action:v2 + if: ${{ matrix.os == 'ubuntu-latest' && matrix.go_version == '1.22' }} with: # Exclude patterns, separated by semicolons (optional) exclude: "./internal/..."