Skip to content

Commit

Permalink
Merge branch 'release/2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
danrot committed Feb 19, 2020
2 parents e816ec1 + f925767 commit 72ecf79
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion .github/workflows/test-application.yaml
Expand Up @@ -3,7 +3,7 @@ name: Test application
on: pull_request

jobs:
install:
download-language:
name: Download languages
runs-on: ubuntu-18.04
steps:
Expand All @@ -21,3 +21,26 @@ jobs:
run: composer update
- name: Download language
run: bin/console sulu:admin:download-language nl
php-cs-fixer:
name: Run php-cs-fixer
runs-on: ubuntu-18.04
steps:
- name: Checkout project
uses: actions/checkout@v1
- name: Create downloads directory
run: mkdir downloads
- name: Get downloads path
id: php-cs-fixer-dir
run: echo "::set-output name=dir::downloads"
- name: Get php-cs-fixer path
id: php-cs-fixer-path
run: echo "::set-output name=path::${{ steps.php-cs-fixer-dir.outputs.dir }}/php-cs-fixer.phar"
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ${{ steps.php-cs-fixer-dir.outputs.dir }}
key: php-cs-fixer
- name: Download php-cs-fixer
run: curl "https://cs.symfony.com/download/php-cs-fixer-v2.phar" --output ${{ steps.php-cs-fixer-path.outputs.path }} && chmod +x ${{ steps.php-cs-fixer-path.outputs.path }}
- name: Run php-cs-fixer
run: ./${{ steps.php-cs-fixer-path.outputs.path }} fix --dry-run --diff

0 comments on commit 72ecf79

Please sign in to comment.