Skip to content

Standardized validation and setup contract #29

Standardized validation and setup contract

Standardized validation and setup contract #29

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
build-test-docs:
runs-on: ubuntu-24.04
env:
BUILD_DIR: build
CI_IMAGE: gates-ci
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Build Docker image
run: docker build -t "$CI_IMAGE" -f Dockerfile .
- name: Run full validation in Docker
run: |
docker run --rm \
--user "$(id -u):$(id -g)" \
-e JOBS=2 \
-e BUILD_DIR="$BUILD_DIR" \
-e HOME=/tmp/gates-home \
-v "$PWD":/workspace \
-w /workspace \
"$CI_IMAGE" \
bash -lc '
./run_validation.sh
'
- name: Upload docs artifact
uses: actions/upload-artifact@v4
with:
name: gates-docs-html
path: docs/build/html
if-no-files-found: error