IOTSRE:2123 better errors #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Main CI/CD | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-go: | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22.2" | |
- name: Install dependencies | |
run: sudo apt-get install libbtrfs-dev -y | |
- name: Download Go Modules | |
run: go mod download | |
- name: Linting | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: latest | |
args: "--print-issued-lines --print-linter-name --out-${NO_FUTURE}format colored-line-number --timeout 300s --max-issues-per-linter 0 --max-same-issues 0" | |
- name: Test Go | |
run: go test ./... --cover |