Skip to content

Commit 08bfb16

Browse files
committed
minor #14595 Streamline workflow (OskarStark)
This PR was merged into the 4.4 branch. Discussion ---------- Streamline workflow Before: ![CleanShot 2020-11-23 at 08 59 01](https://user-images.githubusercontent.com/995707/99939353-2a09ca00-2d6a-11eb-834e-8e5d7745ed0d.png) After: ![CleanShot 2020-11-23 at 08 59 06](https://user-images.githubusercontent.com/995707/99939357-2d04ba80-2d6a-11eb-896b-83fdb266c8ff.png) Commits ------- 935fa86 Enhancement: Streamline workflow
2 parents ce9ac45 + 935fa86 commit 08bfb16

File tree

1 file changed

+36
-36
lines changed

1 file changed

+36
-36
lines changed

.github/workflows/ci.yaml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
name: CI
2+
13
on:
24
push:
35
branches-ignore:
@@ -6,11 +8,9 @@ on:
68
branches-ignore:
79
- 'github-comments'
810

9-
name: CI
10-
1111
jobs:
12-
build:
13-
name: Build
12+
sphinx-build:
13+
name: Build (Sphinx)
1414

1515
runs-on: ubuntu-latest
1616

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

38-
build-php:
39-
name: Symfony doc builder
38+
symfony-docs-builder-build:
39+
name: Build (symfony/docs-builder)
4040

4141
runs-on: ubuntu-latest
4242

4343
continue-on-error: true
4444

4545
steps:
46-
- name: "Checkout"
47-
uses: actions/checkout@v2
48-
49-
- name: "Set-up PHP"
50-
uses: shivammathur/setup-php@v2
51-
with:
52-
php-version: 7.2
53-
coverage: none
54-
tools: "composer:v2"
55-
56-
- name: Get composer cache directory
57-
id: composercache
58-
working-directory: _build
59-
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
60-
61-
- name: Cache dependencies
62-
uses: actions/cache@v2
63-
with:
64-
path: ${{ steps.composercache.outputs.dir }}
65-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
66-
restore-keys: ${{ runner.os }}-composer-
67-
68-
- name: "Install dependencies"
69-
working-directory: _build
70-
run: composer install --prefer-dist --no-progress
71-
72-
- name: "Build the docs"
73-
working-directory: _build
74-
run: php build.php -vvv
46+
- name: "Checkout"
47+
uses: actions/checkout@v2
48+
49+
- name: "Set-up PHP"
50+
uses: shivammathur/setup-php@v2
51+
with:
52+
php-version: 7.2
53+
coverage: none
54+
tools: "composer:v2"
55+
56+
- name: Get composer cache directory
57+
id: composercache
58+
working-directory: _build
59+
run: echo "::set-output name=dir::$(composer config cache-files-dir)"
60+
61+
- name: Cache dependencies
62+
uses: actions/cache@v2
63+
with:
64+
path: ${{ steps.composercache.outputs.dir }}
65+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
66+
restore-keys: ${{ runner.os }}-composer-
67+
68+
- name: "Install dependencies"
69+
working-directory: _build
70+
run: composer install --prefer-dist --no-progress
71+
72+
- name: "Build the docs"
73+
working-directory: _build
74+
run: php build.php -vvv
7575

7676
doctor-rst:
77-
name: DOCtor-RST
77+
name: Lint (DOCtor-RST)
7878

7979
runs-on: ubuntu-latest
8080

0 commit comments

Comments
 (0)