Skip to content

chore: fixup GHA generating api docs #399

chore: fixup GHA generating api docs

chore: fixup GHA generating api docs #399

Workflow file for this run

name: review
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
make:
runs-on: ubuntu-latest
steps:
- name: Setup Sage
uses: einride/sage/actions/setup@master
with:
go-version: '^1.21'
check-latest: true
fetch-depth: 1 // only get latest commit
- name: Make
run: make
generate-api-docs:
permissions:
contents: "read"
id-token: "write"
runs-on: ubuntu-latest
steps:
- name: Setup Sage
uses: einride/sage/actions/setup@master
with:
go-version: '^1.21'
check-latest: true
fetch-depth: 1 // only get latest commit
- name: Setup Node
# Latest version `v3.7.0` contains a bug, see the following issue:
# https://github.com/actions/setup-node/issues/801
uses: actions/[email protected]
with:
node-version: 18
- name: Generate API Documentation
run: make generate-api-doc