Check keypair name is the same in vm and keypair section #940
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: build | |
on: | |
pull_request: | |
branches: [main] | |
paths: | |
- "**.go" | |
- "**.yaml" | |
- "!capm.yaml" | |
- "!osc-secret.yaml" | |
- "!example/**.yaml" | |
- "!helm/**" | |
- "Makefile" | |
- "!docs/src/**" | |
- "!hack/json-format/*.sh" | |
- "!hack/json-format/src/*.rs" | |
- "!hack/json-format/Makefile" | |
- "!hack/json-format/Cargo.*" | |
- "!hack/json-format/tests/*.rs" | |
push: | |
branches: | |
- 'main' | |
paths: | |
- "**.go" | |
- "**.yaml" | |
- "!capm.yaml" | |
- "!osc-secret.yaml" | |
- "!example/**.yaml" | |
- "!helm/**" | |
- "Makefile" | |
- "!docs/src/**" | |
- "!hack/json-format/*.sh" | |
- "!hack/json-format/src/*.rs" | |
- "!hack/json-format/Makefile" | |
- "!hack/json-format/Cargo.*" | |
- "!hack/json-format/tests/*.rs" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.19.8' | |
- name: check-gofmt | |
run: make checkfmt | |
shell: bash | |
- name: Check with boilerplate | |
run: make verify-boilerplate | |
shell: bash | |
- name: check with ShellCheck | |
run: make install-shellcheck | |
shell: bash | |
- name: Install yamllint | |
run: pip install yamllint | |
- name: check with yamlint | |
run: yamllint -c .github/linters/yaml-lint.yaml . --format github | |
- name: Lint | |
run: make vet | |
shell: bash |