Skip to content

ci: do not specify linters config path for auto loading #8

ci: do not specify linters config path for auto loading

ci: do not specify linters config path for auto loading #8

Workflow file for this run

name: ci
on:
push:
branches: ['*']
paths-ignore: ['**.md']
pull_request:
types: [opened, synchronize, labeled, reopened, synchronize, ready_for_review]
paths-ignore: ['**.md']
jobs:
test-build:
strategy:
matrix:
go-version: [1.21.x, 1.20.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Check go modules
run: go mod tidy && git diff -s --exit-code go.sum
- name: Run linters
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: -v --timeout=5m --issues-exit-code=0
- name: Run tests
run: make test-cover