Skip to content

Commit

Permalink
setup golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ciffelia committed Oct 2, 2023
1 parent f1660b7 commit 21cc8bb
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:

env:
earthly_version: ^0.7.19
golangci_lint_version: v1.54

jobs:
go-mod:
Expand Down Expand Up @@ -69,3 +70,18 @@ jobs:
with:
name: ${{ matrix.go-env.name }}
path: out/**/*

golangci-lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: ${{ env.golangci_lint_version }}

0 comments on commit 21cc8bb

Please sign in to comment.