Skip to content

Commit

Permalink
chore: Update lint install
Browse files Browse the repository at this point in the history
  • Loading branch information
EthenNotEthan committed Aug 20, 2024
1 parent 71b6a5a commit 3f3efdb
Showing 1 changed file with 13 additions and 20 deletions.
33 changes: 13 additions & 20 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,30 +7,23 @@ on:
branches: [ "main" ]

jobs:
lint:
# Linting job
# https://github.com/golangci/golangci-lint-action
name: Lint
golangci:
name: Linter
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
cache: false # managed by golangci-lint
- uses: actions/setup-go@v3
with:
go-version: '1.21' # The Go version to download (if necessary) and use.
- run: go version

- uses: golangci/golangci-lint-action@v3
name: Install golangci-lint
with:
version: latest
args: --help # make lint will run the linter
- name: Checkout EigenDA
uses: actions/checkout@v3

- run: make lint
name: Lint
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --timeout 3m --verbose

go-sec:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 3f3efdb

Please sign in to comment.