Skip to content

Update developer-workflow.md (#1419) #1911

Update developer-workflow.md (#1419)

Update developer-workflow.md (#1419) #1911

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-22.04
steps:
- name: ci/checkout-code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: ci/setup-go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: go.mod
- name: ci/setup-hugo
uses: peaceiris/actions-hugo@16361eb4acea8698b220b76c0d4e84e1fd22c61d # v2.6.0
with:
hugo-version: 0.101.0
extended: true
- name: ci/run-build
run: make dist
- name: ci/check-html
run: make test
- name: ci/persist-artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
with:
name: docs
path: dist/html
retention-days: 1