Skip to content

Commit

Permalink
ci: update actions and golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Nov 19, 2024
1 parent e84fb82 commit 03189c4
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,16 @@ jobs:
runs-on: ubuntu-latest
env:
GO_VERSION: '1.20'
GOLANGCI_LINT_VERSION: v1.54.2
GOLANGCI_LINT_VERSION: v1.62.0
CGO_ENABLED: 0
steps:
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v4
with:
go-version: ^${{ env.GO_VERSION }}

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

- name: Cache Go modules
uses: actions/cache@v3
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
go-version: ^${{ env.GO_VERSION }}

- name: Check and get dependencies
run: |
Expand Down

0 comments on commit 03189c4

Please sign in to comment.