diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 23938b6..98ffb1f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,6 +40,11 @@ jobs: php-version: ${{ env.PHP_VERSION }} php-tools: phpcs + - name: Check Pico version + if: ${{ github.ref_type == 'tag' }} + run: | + [ "$GITHUB_REF_NAME" == "v$PICO_VERSION" ] + - name: Run PHP_CodeSniffer run: | phpcs --standard=.phpcs.xml