Skip to content

Update golangci/golangci-lint-action action to v6 #553

Update golangci/golangci-lint-action action to v6

Update golangci/golangci-lint-action action to v6 #553

Workflow file for this run

---
name: test & lint
on:
push:
pull_request:
jobs:
code-lint:
name: code-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m
version: latest
test:
name: test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run go tests and generate coverage report
run: make unit-test