Skip to content

fix(pages): allow empty nojekyll marker in artifact validation #45

fix(pages): allow empty nojekyll marker in artifact validation

fix(pages): allow empty nojekyll marker in artifact validation #45

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
static-gates:
name: Static repository gates
runs-on: ubuntu-24.04
timeout-minutes: 8
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Reject empty critical files
run: |
test -s Cargo.toml
test -s index.html
test -s web/app.js
test -s web/styles.css
test -s scripts/build_web.sh
test -s tools/check_hygiene.py
test -s .github/workflows/ci.yml
test -s .github/workflows/pages.yml
- name: Reject workflow/script one-line corruption
run: |
test "$(wc -l < .github/workflows/ci.yml)" -ge 45
test "$(wc -l < .github/workflows/pages.yml)" -ge 55
test "$(wc -l < scripts/build_web.sh)" -ge 40
test "$(wc -l < Cargo.toml)" -ge 20
- name: Check repository hygiene
run: |
python3 tools/check_hygiene.py
- name: Check shell syntax
run: |
bash -n scripts/build_web.sh