Skip to content

Commit

Permalink
Bump golangci-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tshak committed Nov 3, 2023
1 parent e355820 commit 59279b1
Showing 1 changed file with 14 additions and 19 deletions.
33 changes: 14 additions & 19 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
name: Build
on: [push]
jobs:

build:
name: Build
runs-on: ubuntu-latest
env:
GOLANGCI_VERSION: v1.39.0
steps:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
id: go

- name: Check out code
uses: actions/checkout@v2
- name: Check out code
uses: actions/checkout@v2

- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.39.0
args: --timeout=5m
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.54.2
args: --timeout=5m

- name: Test
run: go test ./...
- name: Test
run: go test ./...

release:
needs: build
Expand Down Expand Up @@ -72,4 +68,3 @@ jobs:
prerelease: true
body: |
Docker: `docker pull ghcr.io/${{ env.DOCKER_REPOSITORY }}:${{ steps.get_version.outputs.VERSION }}`

0 comments on commit 59279b1

Please sign in to comment.