Skip to content

Commit

Permalink
GitHub Actions: I meant to enable staticcheck, not golangci-lint
Browse files Browse the repository at this point in the history
The latter does more. I want to stick to staticcheck for now.
  • Loading branch information
stapelberg committed Feb 23, 2025
1 parent 1f61186 commit 99097a3
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
pull_request:

jobs:
staticcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dominikh/staticcheck-action@v1

tests:
strategy:
matrix:
Expand All @@ -27,10 +33,6 @@ jobs:
run: |
[ "$(gofmt -l $(find . -name '*.go') 2>&1)" = "" ]
- name: golangci-lint
if: matrix.os == 'ubuntu-latest'
uses: golangci/golangci-lint-action@v6

- name: install rsync
if: matrix.os == 'ubuntu-latest'
run: |
Expand Down

0 comments on commit 99097a3

Please sign in to comment.