Add SEVSNP plugin for Veraison server #2886
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
| # Go Linters - GitHub Actions | |
| name: linters | |
| on: [push, pull_request] | |
| jobs: | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| env: | |
| GO111MODULE: on | |
| steps: | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: "1.24" | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Install mockgen | |
| run: | | |
| go install github.com/golang/mock/[email protected] | |
| - name: Install gopls | |
| run: | | |
| go install golang.org/x/tools/gopls@latest | |
| - name: Install guru | |
| run: | | |
| go install golang.org/x/tools/cmd/guru@latest | |
| - name: Install golangci-lint | |
| run: | | |
| go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v1 | |
| with: | |
| version: '3.x' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: protoc-gen deps | |
| run: | | |
| go install google.golang.org/protobuf/cmd/[email protected] | |
| go install google.golang.org/grpc/cmd/[email protected] | |
| go install github.com/mitchellh/[email protected] | |
| - name: Install protolint | |
| run: | | |
| go install github.com/yoheimuta/protolint/cmd/[email protected] | |
| - name: Run required linters in .golangci.yml plus hard-coded ones here | |
| run: make -w GOLINT=$(go env GOPATH)/bin/golangci-lint lint |