diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-06-01 18:09:13 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-06-02 00:26:03 +0200 |
commit | 5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b (patch) | |
tree | f0532ff35d9ba4835c8bc617b09898b90cee5734 /.github/workflows/lint-php-cs.yml | |
parent | 07dee9788a459e704a3d5d8d64049cad91f877e7 (diff) | |
download | nextcloud-server-5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b.tar.gz nextcloud-server-5f8fefcfc21f4b793f93c72495d7eb9f3b902e1b.zip |
chore: update workflows from templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to '.github/workflows/lint-php-cs.yml')
-rw-r--r-- | .github/workflows/lint-php-cs.yml | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/lint-php-cs.yml b/.github/workflows/lint-php-cs.yml index 21133ab68b4..f8d3375111f 100644 --- a/.github/workflows/lint-php-cs.yml +++ b/.github/workflows/lint-php-cs.yml @@ -3,7 +3,7 @@ # https://github.com/nextcloud/.github # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization -name: Lint +name: Lint php-cs on: pull_request @@ -22,13 +22,14 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 - name: Set up php - uses: shivammathur/setup-php@v2 + uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2 with: - php-version: "8.0" + php-version: 8.1 coverage: none + ini-file: development env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -36,4 +37,4 @@ jobs: run: composer i - name: Lint - run: composer run cs:check || ( echo "Please run `composer run cs:fix` to format your code" && exit 1 ) + run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 ) |