Skip to content

Commit d2473e6

Browse files
authored
Merge pull request #75 from phpDocumentor/migrating-to-yaml-syntax
Migrate workflow to yaml
2 parents 4dfca96 + 5077519 commit d2473e6

File tree

2 files changed

+35
-42
lines changed

2 files changed

+35
-42
lines changed

.github/main.workflow

Lines changed: 0 additions & 42 deletions
This file was deleted.

.github/workflows/push.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on: push
2+
name: Qa workflow
3+
jobs:
4+
composer:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@master
8+
- name: composer
9+
uses: docker://composer
10+
env:
11+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
12+
with:
13+
args: install --no-interaction --prefer-dist --optimize-autoloader
14+
- name: Code style check
15+
uses: docker://phpdoc/phpcs-ga:master
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
with:
19+
args: -d memory_limit=1024M -s
20+
- name: composer-require-checker
21+
uses: docker://phpga/composer-require-checker-ga
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
with:
25+
args: check --config-file ./composer-require-config.json composer.json
26+
- name: Psalm
27+
uses: docker://mickaelandrieu/psalm-ga
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
- name: PHPStan
31+
uses: docker://oskarstark/phpstan-ga
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
with:
35+
args: analyse src tests --level max --configuration phpstan.neon

0 commit comments

Comments
 (0)