Bump golangci/golangci-lint-action from 8 to 9 (#4697) #16227
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: "go.mod" | |
| check-latest: true | |
| - name: Get go version | |
| id: go-version | |
| run: echo "name=version::$(go env GOVERSION)" >> $GITHUB_OUTPUT | |
| - name: go mod download | |
| run: go mod download | |
| - name: go mod verify | |
| run: go mod verify | |
| - name: generate command strings | |
| run: go generate ./... && git diff --exit-code | |
| if: runner.os != 'Windows' | |
| - name: "Place wintun.dll" | |
| run: cp deps/wintun/bin/amd64/wintun.dll ./ | |
| - name: Run tests | |
| run: make test |