Bump kdeldycke/workflows from 4.5.4 to 4.6.0 #854
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Lint | |
"on": | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
uses: kdeldycke/workflows/.github/workflows/lint.yaml@v4.6.0 | |
lint-html: | |
# Provides hints to fix theme's templates. | |
name: Lint HTML | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4.1.7 | |
- uses: actions/setup-python@v5.2.0 | |
with: | |
python-version: "3.12" | |
- name: Install uv | |
run: | | |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/v4.5.4/requirements/uv.txt | |
- name: Install project | |
run: | | |
uv --no-progress venv | |
uv --no-progress sync --all-extras --dev | |
- name: Install Stork | |
run: | | |
cargo install stork-search --locked | |
- name: Build HTML pages | |
run: | | |
uv --no-progress run --frozen -- pelican --extra-settings SITEURL='"https://kevin.deldycke.com"' | |
- name: Install HTMLHint | |
run: | | |
sudo npm install htmlhint -g | |
- name: Lint all HTML files, ignore feeds | |
run: | | |
find ./output -type f -not -regex ".*\/feed\/.*" -and -iname "*.html" -exec htmlhint "{}" \; |