Skip to content

Commit

Permalink
Use Go version file for Lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
luis02lopez committed Sep 20, 2024
1 parent 28f3d73 commit cea2532
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.20.5

- name: Checkout code
uses: actions/checkout@v4
go-version-file: go.mod
cache-dependency-path: go.sum

- name: Lint
uses: golangci/golangci-lint-action@v4
Expand Down

0 comments on commit cea2532

Please sign in to comment.