Skip to content

ci: use golangci-lint v2, fix issues #71

ci: use golangci-lint v2, fix issues

ci: use golangci-lint v2, fix issues #71

Workflow file for this run

name: build
on:
- push
- pull_request
jobs:
build:
name: Tests
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: stable
- uses: actions/checkout@v4
- name: Get go-acc
run: go install github.com/ory/go-acc@latest
- name: Build commands
run: .github/build-all
- name: Run tests
run: sudo $(which go-acc) -v ./...
- name: Upload coverage report
uses: codecov/codecov-action@v1
with:
file: coverage.txt