Skip to content

Commit

Permalink
Update action versions to move from node 16 to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpromislow committed Jun 17, 2024
1 parent ff9c02b commit 0f40fff
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: golangci-lint

env:
SETUP_GO_VERSION: '^1.20'

on:
push:
pull_request:
Expand All @@ -23,16 +20,16 @@ jobs:
submodules: recursive

- name: Setup Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ env.SETUP_GO_VERSION }}
go-version-file: go.mod

- name: Generate Golang
run: |
export PATH=$PATH:/home/runner/go/bin/
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.7.0
uses: golangci/golangci-lint-action@v4.0.0
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.55
version: v1.57

0 comments on commit 0f40fff

Please sign in to comment.