chore(deps): update github actions (release/v0.3) (major) #2801
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: | |
| pull_request: {} | |
| push: | |
| branches: | |
| - master | |
| - release/* | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name : Checkout repository | |
| # https://github.com/actions/checkout/releases/tag/v4.1.1 | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Install Go | |
| # https://github.com/actions/setup-go/releases/tag/v5.0.0 | |
| uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0 | |
| with: | |
| go-version-file: 'go.mod' | |
| - name: Install mockgen | |
| run: go install go.uber.org/mock/[email protected] | |
| - name: Install golangci-lint | |
| uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0 | |
| with: | |
| version: v1.63.4 | |
| - name: Install env-test | |
| run: go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest | |
| - name: Build | |
| run: make build-bin | |
| - name: Test | |
| run: make test | |
| - name: Validate | |
| run: make validate |