Bump actions/setup-go from 5 to 6 #390
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: push | |
| on: [pull_request] | |
| jobs: | |
| build: | |
| name: Quality Control | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup go-task | |
| uses: arduino/setup-task@v2 | |
| with: | |
| version: 3.x | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: '1.24.x' | |
| cache: false | |
| - name: Install Go quality tools and configure for private go dependencies | |
| run: | | |
| go install golang.org/x/tools/cmd/[email protected] | |
| go install github.com/axw/gocov/[email protected] | |
| go install github.com/jstemmer/go-junit-report/[email protected] | |
| curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.64.2 | |
| - name: Build and Test | |
| run: | | |
| task precommit | |
| git diff | |
| task test:unit | |