Bump golang from 1.25 to 1.26 #347
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
| # | |
| # Do not edit. This file was generated via the "workflow" command line tool. | |
| # More information about the tool can be found at github.com/xh3b4sd/workflow. | |
| # | |
| # workflow create golang | |
| # | |
| name: "Go Build" | |
| on: "push" | |
| permissions: | |
| contents: read | |
| jobs: | |
| go-build: | |
| runs-on: "ubuntu-latest" | |
| steps: | |
| - name: "Setup Git Project" | |
| uses: "actions/checkout@v5" | |
| - name: "Setup Go Env" | |
| uses: "actions/setup-go@v6" | |
| with: | |
| cache: true | |
| go-version: "1.25.1" | |
| - name: "Check Go Dependencies" | |
| run: | | |
| go mod tidy | |
| git diff --exit-code | |
| - name: "Check Go Linters" | |
| uses: "golangci/golangci-lint-action@v9" | |
| with: | |
| version: "latest" | |
| - name: "Check Go Formatting" | |
| run: | | |
| test -z $(gofmt -l -s .) | |
| - name: "Check Go Tests" | |
| run: | | |
| go test ./... -race |