feat: Bump Go version to 1.25 #258
Workflow file for this run
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: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| types: | |
| - assigned | |
| - opened | |
| - synchronize | |
| - reopened | |
| jobs: | |
| Validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set Helm | |
| uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 | |
| with: | |
| version: v3.12.1 | |
| - name: Set Golang | |
| uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
| with: | |
| go-version: '^1.25' | |
| - name: Set Golangci-lint | |
| run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.4.0 | |
| - name: Set Shellcheck | |
| run: sudo apt-get -qq update && sudo apt-get install -y shellcheck && shellcheck install-binary.sh | |
| - name: Build | |
| run: make build | |
| - name: Test | |
| run: make test | |
| - name: Install | |
| run: make install | |
| - name: Check Binary | |
| run: ./bin/dt | |
| - name: Check Helm Plugin | |
| run: helm dt |