Skip to content

Commit

Permalink
add security-checker on Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
WengerK committed Jun 26, 2024
1 parent 12b020e commit 0a59206
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a59206

Please sign in to comment.