Skip to content

feat(dedibox): list available OS by offer_id #10658

feat(dedibox): list available OS by offer_id

feat(dedibox): list available OS by offer_id #10658

Workflow file for this run

name: Documentation Workflows
permissions:
contents: read
on:
pull_request:
merge_group:
jobs:
ensure-docs-generated:
name: Ensure docs are generated
runs-on: "${{ vars.RUNS_ON || 'ubuntu-latest' }}"
steps:
# Checkout should always be before setup-go to ensure caching is working
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6.5.0
with:
go-version: stable
- name: Generate code
run: go run ./cmd/scw-doc-gen
env:
# We need this to enable autocomplete documentation generation default
SHELL: /bin/bash
- name: Install rumdl
run: curl -LsSf https://github.com/rvben/rumdl/releases/download/v0.2.54/rumdl-v0.2.54-x86_64-unknown-linux-gnu.tar.gz | tar xzf - -C /usr/local/bin
- name: Run formatter
run: rumdl fmt .
- name: Exit 1 if not empty
run: git diff --exit-code
markdown-link-check:
runs-on: "${{ vars.RUNS_ON || 'ubuntu-latest' }}"
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
- uses: gaurav-nelson/github-action-markdown-link-check@3c3b66f1f7d0900e37b71eca45b63ea9eedfce31 # 1.0.17
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.markdownlinkcheck.json'
folder-path: 'docs'
file-extension: '.md'