generated from aljawaid/KanboardSkeletonPlugin
-
-
Notifications
You must be signed in to change notification settings - Fork 2
35 lines (29 loc) · 1007 Bytes
/
php-compatibility-7.4.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: PHP 7.4
on:
push:
pull_request:
branches: [master, main]
permissions:
contents: read
jobs:
setup:
name: Scan Code
runs-on: ubuntu-latest
permissions:
contents: read # for checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: PHP Setup
uses: shivammathur/setup-php@v2
with:
php-version: '7.4-'
ini-values: short_open_tag=On
coverage: none
- name: Run PHP Compatibility 7.4
uses: pantheon-systems/phpcompatibility-action@v1
with:
test-versions: '7.4-'
paths: ${{ github.workspace }}/Plugin.php ${{ github.workspace }}/Controller/ ${{ github.workspace }}/Locale/ ${{ github.workspace }}/Helper/ ${{ github.workspace }}/Model/ ${{ github.workspace }}/Schema/ ${{ github.workspace }}/Validator/ ${{ github.workspace }}/Template/