CI: Check Pico version on tag push
This commit is contained in:
parent
4bf3260766
commit
e3365a4345
1 changed files with 5 additions and 0 deletions
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -40,6 +40,11 @@ jobs:
|
||||||
php-version: ${{ env.PHP_VERSION }}
|
php-version: ${{ env.PHP_VERSION }}
|
||||||
php-tools: phpcs
|
php-tools: phpcs
|
||||||
|
|
||||||
|
- name: Check Pico version
|
||||||
|
if: ${{ github.ref_type == 'tag' }}
|
||||||
|
run: |
|
||||||
|
[ "$GITHUB_REF_NAME" == "v$PICO_VERSION" ]
|
||||||
|
|
||||||
- name: Run PHP_CodeSniffer
|
- name: Run PHP_CodeSniffer
|
||||||
run: |
|
run: |
|
||||||
phpcs --standard=.phpcs.xml
|
phpcs --standard=.phpcs.xml
|
||||||
|
|
Loading…
Reference in a new issue