✨ Get vendor/version from clusterclaim #2567
Workflow file for this run
This file contains 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: Go | |
on: | |
workflow_dispatch: {} | |
pull_request: | |
branches: | |
- main | |
- release-* | |
push: | |
branches: | |
- main | |
- release-* | |
jobs: | |
format: | |
name: format | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Setup gci | |
run: go install github.com/daixiang0/gci@latest | |
- name: Setup gofumpt | |
run: go install mvdan.cc/gofumpt@latest | |
- name: format | |
run: make strict-fmt | |
verify-bundle: | |
name: verify bundle | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: bundle | |
run: cd operator && make bundle |