Skip to content

Merge pull request #171 from saschagrunert/krel #538

Merge pull request #171 from saschagrunert/krel

Merge pull request #171 from saschagrunert/krel #538

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: make verify-dependencies
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: make verify-shfmt
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: make verify-shellcheck
get-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: sudo ./get
- run: crio version
get-script-with-verification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: sigstore/cosign-installer@4959ce089c160fddf62f7b42464195ba1a56d382 # v3.6.0
- run: make verify-get-script
- name: Install BOM
run: |
BOM_VERSION=v0.6.0
curl -sSfL --retry 5 --retry-delay 3 -o bom \
https://github.com/kubernetes-sigs/bom/releases/download/$BOM_VERSION/bom-amd64-linux
chmod +x bom
sudo cp bom /usr/bin
- run: sudo -E PATH=$PATH ./get
- run: crio version
mdtoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- run: make verify-mdtoc
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: creyD/prettier_action@31355f8eef017f8aeba2e0bc09d8502b13dbbad1 # v4.3
with:
dry: true
prettier_options: --write .