Skip to content

Commit

Permalink
Merge pull request #21 from ethpandaops/ci/lint-timeout
Browse files Browse the repository at this point in the history
ci: Update golangci-lint-action version and arguments
  • Loading branch information
mattevans authored Jan 23, 2025
2 parents 4ea188f + e00bc84 commit 58a7488
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=10m
14 changes: 0 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,7 @@ permissions:
packages: write

jobs:
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/workflows/go-setup
- run: go test -v -race ./...

lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: golangci/golangci-lint-action@v3

goreleaser:
needs: [go-test, lint]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 58a7488

Please sign in to comment.