Skip to content

Commit

Permalink
🧱 Set up Go in lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
tiulpin committed Sep 18, 2023
1 parent 5b74f09 commit 5f5e506
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
with:
Expand All @@ -34,6 +37,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- if: ${{ matrix.os == 'ubuntu-latest' }}
uses: docker/login-action@v2
with:
Expand Down

0 comments on commit 5f5e506

Please sign in to comment.