Bump depends-on/depends-on-action from 279809107792022edfa46aa42ed33531f91b9727 to 747e9a585cf378ac4b07153ea362c9a3e3802e61 #1198
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: 1.23.4 | |
- 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@d1c850b2b5d502763520c25fb4a6a1128ad99bd9 # 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: 1.23.4 | |
- 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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Go 1.23 | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 | |
with: | |
go-version: 1.23.4 | |
- name: Checkout the certsuite repo | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
with: | |
repository: redhat-best-practices-for-k8s/certsuite | |
path: certsuite | |
- name: Run Unit Tests | |
run: CERTSUITE_REPO_PATH=${GITHUB_WORKSPACE}/certsuite make unit-tests | |