Skip to content

Update golangci-lint to 1.61.0 #23

Update golangci-lint to 1.61.0

Update golangci-lint to 1.61.0 #23

Workflow file for this run

name: Go Test and Lint
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Build
run: go build -v -mod=mod -o target/hello-world-app ./src
- name: Test
run: go test -mod=mod -v ./src/...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61.0