Skip to content

Bump the codeql group with 3 updates #2637

Bump the codeql group with 3 updates

Bump the codeql group with 3 updates #2637

Workflow file for this run

name: Hugo
on:
push:
pull_request:
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true
fetch-depth: 0
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@7e36c90d9ab29c415a2384db3006f3ec8a8cc654 # v4.2.4
- name: Verify Hugo version matches wrangler.toml
run: |
MISE_VERSION=$(mise current hugo)
WRANGLER_VERSION=$(grep -oP 'HUGO_VERSION\s*=\s*"\K[^"]+' wrangler.toml | head -1)
if [ "$MISE_VERSION" != "$WRANGLER_VERSION" ]; then
echo "::error::Hugo version mismatch: mise has $MISE_VERSION, wrangler.toml has $WRANGLER_VERSION"
exit 1
fi
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build site
run: ./build.sh
env:
CF_PAGES_URL: /