chore(deps): bump github.com/golangci/golangci-lint from 1.58.1 to 1.58.2 in /tools #149
Workflow file for this run
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
# .github/workflows/main.yml | |
name: main | |
on: | |
push: | |
tags: | |
- v* | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ 1.22.x ,1.21.x, 1.20.x ] | |
permissions: | |
checks: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: arduino/setup-protoc@v3 | |
with: | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- run: make generate | |
- run: make test | |
- uses: dorny/test-reporter@v1 | |
if: success() || failure() | |
with: | |
name: Go ${{ matrix.go-version }} Test Results | |
path: .test/reports/**-test.xml | |
reporter: java-junit | |
fail-on-error: 'true' | |
- uses: actions/upload-artifact@v3 | |
if: success() || failure() | |
with: | |
name: Test Reports | |
path: .test/reports/** | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: ./go.mod | |
check-latest: true | |
- run: make lint |