Skip to content

Commit 290342c

Browse files
tvdijenthijskh
authored andcommitted
Replace super-linter with a reusable workflow
1 parent c81b0c8 commit 290342c

9 files changed

Lines changed: 244 additions & 142 deletions

File tree

.github/workflows/documentation.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
---
2+
13
name: Documentation
24

3-
on:
5+
on: # yamllint disable-line rule:truthy
46
push:
5-
branches: [ main ]
7+
branches: [main]
68
paths:
79
- '**.md'
810
pull_request:
9-
branches: [ main ]
11+
branches: [main]
1012
paths:
1113
- '**.md'
1214

@@ -19,7 +21,7 @@ jobs:
1921
- name: Setup PHP, with composer and extensions
2022
uses: shivammathur/setup-php@v2 #https://github.com/shivammathur/setup-php
2123
with:
22-
php-version: '8.0'
24+
php-version: '8.1'
2325
tools: composer:v2
2426
extensions: intl, mbstring, xml
2527

@@ -35,9 +37,9 @@ jobs:
3537
- name: Cache composer dependencies
3638
uses: actions/cache@v3
3739
with:
38-
path: ${{ steps.composer-cache.outputs.dir }}
39-
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
40-
restore-keys: ${{ runner.os }}-composer-
40+
path: ${{ steps.composer-cache.outputs.dir }}
41+
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
42+
restore-keys: ${{ runner.os }}-composer-
4143

4244
- name: Install Composer dependencies
4345
run: composer install --no-progress --prefer-dist --optimize-autoloader

0 commit comments

Comments
 (0)