mirror of
https://github.com/stan220/godot-docs.git
synced 2026-09-08 17:28:58 +00:00
See https://github.blog/changelog/2023-09-13-github-actions-updates-to-github_ref-and-github-ref
27 lines
653 B
YAML
27 lines
653 B
YAML
name: Continuous integration
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-24.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Style checks via pre-commit
|
|
uses: pre-commit/action@v3.0.1
|
|
|
|
- name: Install dependencies
|
|
run: sudo pip3 install -r requirements.txt
|
|
|
|
# Use dummy builder to improve performance as we don't need the generated HTML in this workflow.
|
|
- name: Sphinx build
|
|
run: make SPHINXOPTS='--color -j 4 -W' dummy
|