mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-26 01:16:56 +00:00
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.35.5 to 2.36.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](bf6b4fbd49...7bf05c6b70)
---
updated-dependencies:
- dependency-name: shivammathur/setup-php
dependency-version: 2.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
# This workflow is provided via the organization template repository
|
|
#
|
|
# https://github.com/nextcloud/.github
|
|
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
|
|
#
|
|
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
name: Static analysis
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'php/**'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'php/**'
|
|
|
|
concurrency:
|
|
group: psalm-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
static-analysis:
|
|
runs-on: ubuntu-latest
|
|
|
|
name: static-psalm-analysis
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@c2d88d3ecc89a9ef08eebf45d9637801dcee7eb5 # v5.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Set up php
|
|
uses: shivammathur/setup-php@7bf05c6b704e0b9bfee22300130a31b5ea68d593 # v2.36.0
|
|
with:
|
|
php-version: 8.4
|
|
extensions: apcu
|
|
coverage: none
|
|
ini-file: development
|
|
# Temporary workaround for missing pcntl_* in PHP 8.3
|
|
ini-values: disable_functions=
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Install dependencies and run psalm
|
|
run: |
|
|
set -x
|
|
cd php
|
|
composer install
|
|
composer run psalm
|