-
Notifications
You must be signed in to change notification settings - Fork 1
55 lines (46 loc) · 1.13 KB
/
quickstart.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Quickstart test
defaults:
run:
shell: bash
on:
push:
branches:
- master
pull_request:
paths:
- "docs/content/users/quickstart.md"
workflow_dispatch:
inputs:
debug_enabled:
description: 'Enable debug mode'
type: boolean
required: false
default: false
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
actions: write
jobs:
build:
name: Docs Quickstart test
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Docker and deps (Linux)
run: ./.github/workflows/linux-setup.sh
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
uses: mxschmitt/action-tmate@v3
with:
limit-access-to-actor: true
- name: Run quickstart test
run: |
make quickstart-test