mirror of
https://github.com/peaceiris/actions-hugo.git
synced 2026-06-04 10:38:41 +02:00
89ca553e6c
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
30 lines
675 B
YAML
30 lines
675 B
YAML
name: Test Action
|
|
|
|
on:
|
|
push:
|
|
branches: [main, feat/node24]
|
|
pull_request:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-24.04
|
|
timeout-minutes: 10
|
|
permissions:
|
|
contents: read
|
|
strategy:
|
|
matrix:
|
|
hugo-version: ['latest', '0.160.1']
|
|
extended: [true, false]
|
|
steps:
|
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
|
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
|
|
with:
|
|
hugo-version: ${{ matrix.hugo-version }}
|
|
extended: ${{ matrix.extended }}
|
|
|
|
- name: Verify Hugo
|
|
run: hugo version
|