Remove cloudbees and replace with nginx #897
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: Test Incoming Changes | |
'on': | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
env: | |
SHELL: /bin/bash | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 1.23.1 | |
- uses: nosborn/github-action-markdown-cli@9b5e871c11cc0649c5ac2526af22e23525fa344d # v3.3.0 | |
with: | |
files: README.md | |
- uses: ludeeus/action-shellcheck@00b27aa7cb85167568cb48a3838b75f4265f2bca # master | |
with: | |
ignore_paths: vendor | |
- uses: mfinelli/setup-shfmt@031e887e39d899d773a7e9b6dd6472c2c23ff50d # v3.0.1 | |
- run: shfmt -d scripts/*.sh | |
- uses: crate-ci/typos@945d407a5fc9097f020969446a16f581612ab4df # master | |
- uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1.1 | |
with: | |
file_or_dir: .github/workflows/*.yml config/*.yaml | |
config_data: | | |
extends: default | |
rules: | |
line-length: | |
level: warning | |
trailing-spaces: | |
level: warning | |
brackets: | |
level: warning | |
empty-lines: | |
level: warning | |
- name: Run lint | |
run: make lint | |
build: | |
runs-on: ubuntu-22.04 | |
env: | |
SHELL: /bin/bash | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 1.23.1 | |
- name: Install ginkgo | |
run: make install-ginkgo | |
- name: Compile test suites | |
run: ginkgo build -r ./tests | |
unittest: | |
runs-on: ubuntu-22.04 | |
env: | |
SHELL: /bin/bash | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version: 1.23.1 | |
- name: Checkout the certsuite repo | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
with: | |
repository: redhat-best-practices-for-k8s/certsuite | |
path: certsuite | |
- name: Run Unit Tests | |
run: CERTSUITE_REPO_PATH=${GITHUB_WORKSPACE}/certsuite make unit-tests | |