Skip to content

build(deps): bump github/codeql-action from 4.35.2 to 4.35.3 in the github-actions group #3663

build(deps): bump github/codeql-action from 4.35.2 to 4.35.3 in the github-actions group

build(deps): bump github/codeql-action from 4.35.2 to 4.35.3 in the github-actions group #3663

name: Check Documentation
on:
pull_request:
permissions: {}
jobs:
doc:
name: Build documentation
runs-on: ubuntu-latest
env:
# https://github.com/actions/setup-go#supported-version-syntax
# ex:
# - 1.18beta1 -> 1.18.0-beta.1
# - 1.18rc1 -> 1.18.0-rc.1
GO_VERSION: '1.26'
HUGO_VERSION: 0.161.1
CGO_ENABLED: 0
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: ${{ env.GO_VERSION }}
- run: go mod download
- name: Setup Hugo
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Build Documentation
run: make docs_build