Make kuttl suite compatible with install_yamls #1007
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: Golang lint, vet and unit test pipeline | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: github (govet, golint and gotest) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout project code | |
uses: actions/checkout@v3 | |
- name: Checkout openstack-k8s-operators-ci project | |
uses: actions/checkout@v3 | |
with: | |
repository: openstack-k8s-operators/openstack-k8s-operators-ci | |
path: ./openstack-k8s-operators-ci | |
- name: Run govet.sh | |
run: make govet | |
- name: Run golint.sh | |
run: make golint | |
- name: Run gotest.sh | |
run: make gotest | |
golangci: | |
name: github (golangci) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout project code | |
uses: actions/checkout@v3 | |
- name: Run golangci lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
version: latest | |
args: --timeout 5m | |
operator-lint: | |
name: operator-lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19.x | |
- name: Checkout project code | |
uses: actions/checkout@v3 | |
- name: Run operator-lint | |
run: make operator-lint |