You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

static-code-analysis.yml 823B

12345678910111213141516171819202122
  1. name: Static code analysis
  2. on: [pull_request]
  3. jobs:
  4. static-code-analysis:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - uses: actions/checkout@v2
  8. - name: Checkout submodules
  9. shell: bash
  10. run: |
  11. auth_header="$(git config --local --get http.https://github.com/.extraheader)"
  12. git submodule sync --recursive
  13. git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
  14. - name: Remove composer.json
  15. shell: bash
  16. run: rm composer.json composer.lock
  17. - name: Psalm
  18. uses: docker://jakzal/phpqa:php7.4-alpine
  19. with:
  20. args: psalm --monochrome --no-progress --output-format=text