Skip to content

Merge pull request #302 from harmathy/main #866

Merge pull request #302 from harmathy/main

Merge pull request #302 from harmathy/main #866

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: make verify-dependencies
shfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: make verify-shfmt
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: make verify-shellcheck
get-script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: sudo ./get
- run: crio version
get-script-with-verification:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
- run: make verify-get-script
- name: Install BOM
run: |
BOM_VERSION=v0.7.1
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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- run: make verify-mdtoc
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- uses: creyD/prettier_action@8c18391fdc98ed0d884c6345f03975edac71b8f0 # v4.6
with:
dry: true
prettier_options: --write .