Skip to content

Streamline workflow #14595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 36 additions & 36 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: CI

on:
push:
branches-ignore:
Expand All @@ -6,11 +8,9 @@ on:
branches-ignore:
- 'github-comments'

name: CI

jobs:
build:
name: Build
sphinx-build:
name: Build (Sphinx)

runs-on: ubuntu-latest

Expand All @@ -35,46 +35,46 @@ jobs:
- name: "Build documentation"
run: make -C _build SPHINXOPTS="-nqW -j auto" html

build-php:
name: Symfony doc builder
symfony-docs-builder-build:
name: Build (symfony/docs-builder)

runs-on: ubuntu-latest

continue-on-error: true

steps:
- name: "Checkout"
uses: actions/checkout@v2

- name: "Set-up PHP"
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
coverage: none
tools: "composer:v2"

- name: Get composer cache directory
id: composercache
working-directory: _build
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: "Install dependencies"
working-directory: _build
run: composer install --prefer-dist --no-progress

- name: "Build the docs"
working-directory: _build
run: php build.php -vvv
- name: "Checkout"
uses: actions/checkout@v2

- name: "Set-up PHP"
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
coverage: none
tools: "composer:v2"

- name: Get composer cache directory
id: composercache
working-directory: _build
run: echo "::set-output name=dir::$(composer config cache-files-dir)"

- name: Cache dependencies
uses: actions/cache@v2
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: ${{ runner.os }}-composer-

- name: "Install dependencies"
working-directory: _build
run: composer install --prefer-dist --no-progress

- name: "Build the docs"
working-directory: _build
run: php build.php -vvv

doctor-rst:
name: DOCtor-RST
name: Lint (DOCtor-RST)

runs-on: ubuntu-latest

Expand Down