Skip to content

Use Dynamic ERROR_PAGE #20

Use Dynamic ERROR_PAGE

Use Dynamic ERROR_PAGE #20

Workflow file for this run

name: "Lint"
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: "Lint"
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: "Checkout"
uses: actions/checkout@v6
- name: "yamllint"
if: ${{ !cancelled() }}
env:
CONFIG: .github/yamllint.yaml
run: |
echo "::group::List Files"
yamllint -c "${{ env.CONFIG }}" --list-files .
echo "::endgroup::"
yamllint -c "${{ env.CONFIG }}" .
- name: "prettier"
if: ${{ !cancelled() }}
run: |
echo "::group::Install"
npm install prettier
echo "::endgroup::"
npx prettier --check .
- name: "actionlint"
if: ${{ !cancelled() }}
uses: cssnr/actionlint-action@v1
- name: "hadolint"
if: ${{ !cancelled() }}
uses: hadolint/hadolint-action@2332a7b74a6de0dda2e2221d575162eba76ba5e5 # v3.3.0
with:
dockerfile: src/Dockerfile
ignore: DL3018
- name: "shellcheck"
if: ${{ !cancelled() }}
uses: ludeeus/action-shellcheck@master
env:
SHELLCHECK_OPTS: -x
with:
scandir: src