Skip to content

Commit 08e15b4

Browse files
authored
feat: add ability to test guideline examples (#273)
1 parent e5fa09f commit 08e15b4

File tree

17 files changed

+3696
-454
lines changed

17 files changed

+3696
-454
lines changed

.github/workflows/build-guidelines.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ on:
1212
- "main"
1313
# workflow_call trigger to make this workflow reusable
1414
workflow_call:
15-
# You can add inputs here if needed in the future
16-
# inputs:
17-
# example_input:
18-
# required: false
19-
# type: string
20-
# default: 'default value'
15+
2116
jobs:
17+
# Check Rust examples compile before building docs
18+
check_rust_examples:
19+
uses: ./.github/workflows/check-rust-examples.yml
20+
2221
build:
22+
needs: check_rust_examples
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727
- name: Install uv
2828
uses: astral-sh/setup-uv@v6
2929
- name: Build documentation
@@ -78,9 +78,8 @@ jobs:
7878
runs-on: ubuntu-latest
7979
steps:
8080
- name: Checkout repository
81-
uses: actions/checkout@v3
81+
uses: actions/checkout@v4
8282
- name: Install typos
8383
run: cargo install typos-cli
8484
- name: Check for typos
8585
run: typos
86-

0 commit comments

Comments
 (0)