Merge pull request #723 from openshift-kni/hook-options #1218
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: CI Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up golang | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.6 | |
- name: Verify modules | |
run: go mod verify | |
- name: Verify generated content | |
run: make verify-generated | |
- name: Vetting | |
run: make vet | |
- name: Build operand | |
run: make binary | |
- name: Build operator | |
run: make binary-rte | |
- name: Run unit tests | |
run: make test-unit |