Merge pull request #1169 from kubevirt-bot/cherry-pick-1166-to-releas… #3937
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: Test csv-generator | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
validate_metrics_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Generate metrics docs | |
run: make generate-doc | |
- name: Validate no changes | |
run: git diff --exit-code | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Build and Test csv-generator | |
run: make container-build && ./tests/e2e-test-csv-generator.sh | |
check_commited_files: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Golang | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Check commited files | |
run: hack/check-commited-changes.sh |