ci: fix functions-runtime renovate updates again (#1917) #42
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: HtmlTest | |
on: | |
push: | |
branches: | |
- 'main' | |
- '[0-9]+.[1-9][0-9]*.x' | |
paths: | |
- 'docs/**' | |
pull_request: | |
branches: | |
- 'main' | |
- '[0-9]+.[1-9][0-9]*.x' | |
paths: | |
- 'docs/**' | |
jobs: | |
htmltest: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Cache HTMLTest packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
docs/tmp/.htmltest | |
key: ${{ runner.os }}-htmltest | |
- name: Cache Hugo packages | |
uses: actions/cache@v3 | |
with: | |
path: | | |
docs/tmp/.hugo | |
key: ${{ runner.os }}-hugo-${{ hashFiles('docs/go.sum') }} | |
- name: Check HTML | |
run: make htmltest |