Skip to content

Bump actions/checkout from 5 to 6 #348

Bump actions/checkout from 5 to 6

Bump actions/checkout from 5 to 6 #348

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/laravel-lang
ARTIFACT_DOCS: webHelpLARAVEL-LANG2-all.zip
BUILDER_VERSION: 2025.04.8412
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: Install dependencies
run: composer update --no-progress --no-interaction
- name: Clone projects
run: composer clone
- name: Update Team
run: |
php src/team.php
- name: Download versions
run: |
php src/releases.php
- name: Move completion statuses
run: |
php src/statuses.php
php src/available.php
- name: Update examples
run: |
php src/native_names.php
- 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 }}