Skip to content

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #1322

Bump step-security/harden-runner from 2.7.0 to 2.7.1

Bump step-security/harden-runner from 2.7.0 to 2.7.1 #1322

Workflow file for this run

name: Static Analysis
on: [ pull_request ]
jobs:
phpstan:
name: PHPStan
runs-on: ubuntu-latest
env:
SOLIDINVOICE_ENV: test
SOLIDINVOICE_DEBUG: 1
steps:
- name: Harden Runner
uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4
with:
egress-policy: block
allowed-endpoints: >
github.com:443
api.github.com:443
objects.githubusercontent.com:443
packagist.org:443
repo.packagist.org:443
registry.yarnpkg.com:443
registry.npmjs.org:443
codecov.io:443
api.codecov.io:443
uploader.codecov.io:443
- name: Checkout
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- name: Setup PHP
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198
with:
php-version: 8.3
ini-values: date.timezone=Europe/Paris, opcache.enable=1, opcache.enable_cli=1, opcache.memory_consumption=256, opcache.max_accelerated_files=32531, opcache.interned_strings_buffer=8, opcache.validate_timestamps=0, opcache.save_comments=1, opcache.fast_shutdown=0
extensions: intl, gd, opcache, mysql, pdo_mysql, :xdebug
- uses: ramsey/composer-install@v3
- uses: oven-sh/setup-bun@v1
- run: bun install
- run: bun run build
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Warm up cache
run: bin/console cache:warmup -n -vvv -e test
- name: Run PHPStan
run: bin/phpstan analyse -c phpstan.test.neon