forked from Z-Hub/Z-Push
-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (35 loc) · 1.03 KB
/
main.yml
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
36
37
38
39
40
41
42
43
44
name: Psalm Security Scan
on: [push, pull_request]
jobs:
psalm-security-scan:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Psalm Security Scan
uses: docker://ghcr.io/psalm/psalm-security-scan:4.4.1
- name: Import Security Analysis results into GitHub Security Code Scanning
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: results.sarif
psalm74:
name: Psalm74
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Psalm
uses: docker://ghcr.io/psalm/psalm-github-actions:5.11.0
psalm82:
name: Psalm82
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
tools: vimeo/psalm
- name: Run psalm
run: ./vendor/bin/psalm --output-format=github