diff --git a/.github/workflows/styles.yml b/.github/workflows/styles.yml index 2e39c9d..ec7b0d9 100644 --- a/.github/workflows/styles.yml +++ b/.github/workflows/styles.yml @@ -26,7 +26,6 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv - uses: actions/checkout@v4 - run: composer install --prefer-dist @@ -39,21 +38,19 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' extensions: mbstring, intl, gd, xml, dom, json, fileinfo, curl, zip, iconv - uses: actions/checkout@v4 - run: composer install --prefer-dist - run: ./vendor/bin/psalm --output-format=github -# security-checker: -# name: security-checker -# runs-on: ubuntu-latest -# steps: -# - name: Setup PHP -# uses: shivammathur/setup-php@v2 -# with: -# php-version: '7.4' -# tools: composer:v2 -# - uses: actions/checkout@v4 -# - run: composer install --prefer-dist -# - uses: symfonycorp/security-checker-action@v3 + security-checker: + name: security-checker + runs-on: ubuntu-latest + steps: + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + tools: composer:v2 + - uses: actions/checkout@v4 + - run: composer install --prefer-dist + - uses: symfonycorp/security-checker-action@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index c1ac4e3..2756995 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - add coveralls phpunit coverage upload - add coverage on cURL availability tests - add support for PHP 8.0, 8.1 & 8.2 +- add security-checker on Github Actions ### Security - ugprade phpunit/phpunit 7.x => 8.x