Skip to content
This repository was archived by the owner on Jan 28, 2026. It is now read-only.

Bump actions/checkout from 5 to 6 #16

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #16

Workflow file for this run

name: Tests
on:
push:
branches-ignore:
- main
pull_request:
permissions: read-all
env:
COMPOSER_TOKEN: ${{ secrets.COMPOSER_TOKEN }}
INSTANCE: docs/package-wizard
ARTIFACT_DOCS: webHelpPACKAGE-WIZARD2-all.zip
BUILDER_VERSION: 2025.03.8312
jobs:
build:
name: Build application
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
extensions: curl, mbstring, zip, pcntl, pdo, pdo_sqlite, iconv, simplexml
coverage: xdebug
- name: Configure git
run: git config --global --add safe.directory /github/workspace
- name: Download schema
run: |
cd docs/resources
curl -O https://raw.githubusercontent.com/package-wizard/installer/refs/heads/main/resources/schemas/schema-v2.json
- name: Build documentation
uses: JetBrains/writerside-github-action@v4
with:
instance: ${{ env.INSTANCE }}
artifact: ${{ env.ARTIFACT_DOCS }}
docker-version: ${{ env.BUILDER_VERSION }}
- name: Upload artifacts
uses: actions/upload-artifact@v5
with:
name: docs
path: |
artifacts/${{ env.ARTIFACT_DOCS }}
artifacts/report.json
retention-days: 7
test:
needs: build
name: Testing
runs-on: ubuntu-latest
steps:
- name: Download docs artifact
uses: actions/download-artifact@v6
with:
name: docs
path: artifacts
- name: Test documentation
uses: JetBrains/writerside-checker-action@v1
with:
instance: ${{ env.INSTANCE }}