Build a zip file when creating a new release on GitHub, then upload it. #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Analysis | |
on: | |
push: | |
branches: main | |
pull_request: | |
branches: main | |
workflow_dispatch: | |
jobs: | |
testing: | |
name: PHPCS and PHPStan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out the source code | |
uses: actions/checkout@v3 | |
- name: Run PHPCS and PHPStan tests | |
uses: polylang/actions/static-analysis@main |