psalm-security.yml 590 B

1234567891011121314151617181920212223242526
  1. name: Psalm Security Analysis
  2. on:
  3. push:
  4. pull_request:
  5. schedule:
  6. - cron: '0 0 * * 0'
  7. jobs:
  8. psalm:
  9. name: Psalm
  10. runs-on: ubuntu-latest
  11. steps:
  12. - name: Checkout code
  13. uses: actions/checkout@v2
  14. with:
  15. submodules: recursive
  16. - name: Psalm
  17. uses: docker://vimeo/psalm-github-actions:4.9.3
  18. with:
  19. security_analysis: true
  20. report_file: results.sarif
  21. - name: Upload Security Analysis results to GitHub
  22. uses: github/codeql-action/upload-sarif@v1
  23. with:
  24. sarif_file: results.sarif