Skip to content

docs: render README.md #3119

docs: render README.md

docs: render README.md #3119

Workflow file for this run

# yamllint disable rule:comments
---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Run all the linters
'on':
workflow_call:
workflow_dispatch:
push:
jobs:
lint:
name: Run linters
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
id: generate-token
with:
app_id: "${{ secrets.BOT_APP_ID }}"
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
token: "${{ steps.generate-token.outputs.token }}"
fetch-depth: 1
- name: Setup CUE
uses: cue-lang/setup-cue@a93fa358375740cd8b0078f76355512b9208acb1 # v1.0.1
- name: "Linter: CUE"
shell: bash
run: |-
cue vet --schema '#Spec' ./apps/*/metadata.json ./metadata.rules.cue
- name: "Linter: hadolint"
uses: jbergstroem/hadolint-gh-action@39e57273ed8f513872326b228217828be6a42730 # v1.12.2
with:
annotate: true
dockerfile: "apps/*/Dockerfile"
error_level: 1
- name: "Linter: shellcheck"
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
with:
severity: warning
- name: "Linter: yamllint"
uses: karancode/yamllint-github-action@4052d365f09b8d34eb552c363d1141fd60e2aeb2 # v3.0.0
with:
yamllint_strict: true
yamllint_config_filepath: ./.yamllint
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: "${{ steps.generate-token.outputs.token }}"
# yamllint enable rule:comments