Skip to content

Commit

Permalink
ci: run revive check only on go1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 14, 2024
1 parent 3c47826 commit fef1611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/..."
Expand Down

0 comments on commit fef1611

Please sign in to comment.