Rename master-build to main-build #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Quickstart test | |
defaults: | |
run: | |
shell: bash | |
on: | |
push: | |
branches: [ main, 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 |