deps: update golang.org/x/text to v0.39.0 #213
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: Lint Go files | |
| on: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| - name: Install Go | |
| uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0 | |
| with: | |
| # renovate: datasource=golang-version depName=go | |
| go-version: 1.26.5 | |
| - name: Go mod check | |
| run: | | |
| go mod tidy | |
| go mod vendor | |
| test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1) | |
| - name: Run static checks | |
| uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0 | |
| with: | |
| # renovate: datasource=github-releases depName=golangci/golangci-lint | |
| version: v2.12.2 | |
| # use our .golangci.yml | |
| args: "--verbose --modules-download-mode=vendor" | |
| skip-cache: true | |
| - name: Run the slowg linter | |
| run: | | |
| go install github.com/cilium/linters@latest | |
| linters -slowg ./... | |
| - name: govulncheck | |
| uses: golang/govulncheck-action@032d45514ae346b1db93c04b0c90b841c370344f # v1.1.0 | |
| with: | |
| # renovate: datasource=golang-version depName=go | |
| go-version-input: 1.26.5 | |
| go-package: './...' |