fix(deps): update module golang.org/x/crypto to v0.55.0 [security] #555
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: golangci-lint | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| golangci: | |
| name: golangci-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4.2.2 | |
| - name: Add variables to environment file | |
| run: cat ".github/env" >> "$GITHUB_ENV" | |
| - name: Setup Go | |
| uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # pin@5.1.0 | |
| with: | |
| go-version: '${{ env.GOLANG_VERSION }}' | |
| check-latest: true | |
| - name: Install golangci-lint from source | |
| run: | | |
| # Build golangci-lint with the same Go toolchain as this workflow, | |
| # so it can parse and analyze code from newer Go versions. | |
| go install github.com/golangci/golangci-lint/cmd/golangci-lint@${GOLANGCI_LINT_VERSION} | |
| # Make go-installed tools available to subsequent steps. | |
| echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH" | |
| - name: Print golangci-lint version | |
| run: golangci-lint version | |
| - name: Run golangci-lint | |
| run: golangci-lint run ./... |