* ci: move analyzer jobs in a dedicated workflow * ci: move worker jobs in a dedicated workflow * ci: move legacy jobs in a dedicated workflow * ci: move shared jobs in a dedicated workflow * ci: move api-client jobs to dedicated workflow * ci: remove unused test job * ci: move api jobs in a dedicated workflow * ci: move playout ci jobs in a dedicated workflow * ci: remove unused test job * ci: move test-with-database in api workflow * ci: run playout on api-client changes * ci: rename tools workflow to dev-tools * ci: rename generic tests workflow to project * ci: rename lint-pr workflow to pr * ci: update python tests concurrency * ci: update python caching keys * ci: update website/docs trigger condition * ci: update legacy trigger condition * ci: readd cancel in progress * ci :update api cache key
41 lines
852 B
YAML
41 lines
852 B
YAML
name: Docs
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
paths:
|
|
- .github/workflows/docs.yml
|
|
- docs/**
|
|
- website/**
|
|
|
|
pull_request:
|
|
branches: [main]
|
|
paths:
|
|
- .github/workflows/docs.yml
|
|
- docs/**
|
|
- website/**
|
|
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Vale
|
|
run: |
|
|
sudo pip3 install gh-release-install
|
|
sudo gh-release-install \
|
|
errata-ai/vale \
|
|
vale_{version}_Linux_64-bit.tar.gz --extract vale \
|
|
/usr/local/bin/vale
|
|
|
|
- name: Add annotations matchers
|
|
run: |
|
|
echo "::add-matcher::.github/annotations/vale.json"
|
|
|
|
- name: Run Vale
|
|
run: |
|
|
make -C .github/vale/styles
|
|
vale --output line docs website/src/pages || true
|