Skip to content

Support custom linter rules in the Enterprise edition #1394

Support custom linter rules in the Enterprise edition

Support custom linter rules in the Enterprise edition #1394

Workflow file for this run

name: Sourcemeta One CI
on:
pull_request:
concurrency:
group: one-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install --yes codespell
- uses: actions/checkout@v4
- run: codespell docs *.markdown docs/*.md
test:
strategy:
fail-fast: false
matrix:
edition:
- name: community
options: ENTERPRISE=OFF
- name: enterprise
options: ENTERPRISE=ON
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: make docker PRESET=Release ${{ matrix.edition.options }}
# Work around BuildKit snapshot corruption on GitHub Actions runners
- run: docker builder prune --all --force
- name: Sandbox (headless)
uses: ./.github/actions/sandbox
with:
configuration: headless
edition: ${{ matrix.edition.name }}
port: 8000
- name: Sandbox (html)
uses: ./.github/actions/sandbox
with:
configuration: html
edition: ${{ matrix.edition.name }}
port: 8000
- name: Sandbox (empty)
uses: ./.github/actions/sandbox
with:
configuration: empty
edition: ${{ matrix.edition.name }}
port: 8000
# Public instance
- run: docker build . --file public/Dockerfile --progress plain
if: matrix.edition.name == 'enterprise'
website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs build --config-file mkdocs.yml --strict --site-dir ./build/website