Add possibility to check and generate newest SBOMs in the container registry #496
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: checks | |
on: | |
pull_request: | |
# Cancel any in-flight jobs for the same PR branch so there's only one active at a time. | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pre-commit: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
container: us.gcr.io/ksoc-public/kubernetes-toolkit:1.29.4 | |
steps: | |
- name: clone repo | |
uses: actions/checkout@v4 | |
- name: pre-commit checks | |
run: pre-commit-checks | |
deprecation-checks: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
container: us.gcr.io/ksoc-public/kubernetes-toolkit:1.29.4 | |
steps: | |
- name: clone repo | |
uses: actions/checkout@v4 | |
- name: deprecation-checks | |
run: make deprecation-checks | |
kubeval-checks: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
container: us.gcr.io/ksoc-public/kubernetes-toolkit:1.29.4 | |
steps: | |
- name: clone repo | |
uses: actions/checkout@v4 | |
- name: kubeval-checks | |
run: make kubeval-checks | |
lint: | |
permissions: | |
contents: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Helm | |
uses: azure/setup-helm@v3 | |
with: | |
version: v3.14.2 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.7 | |
- name: Set up chart-testing | |
uses: helm/[email protected] | |
- name: Run chart-testing (lint) | |
run: ct lint --config test/ct.yaml | |
- name: Run helm lint | |
run: helm lint stable/ksoc-plugins |