diff --git a/.forgejo/workflows/push.yml b/.forgejo/workflows/push.yml index e957546..043c1a4 100644 --- a/.forgejo/workflows/push.yml +++ b/.forgejo/workflows/push.yml @@ -1,9 +1,21 @@ on: [push] jobs: - composer: - runs-on: docker - container: - image: git.php.fail/lubiana/container/php:8.2 + build: + runs-on: ubuntu-latest + steps: - - uses: actions/checkout@v3 - - run: composer install + - name: Checkout code + uses: actions/checkout@v3 + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: '8.2' + extensions: mbstring, intl, pdo_sqlite + coverage: xdebug + + - name: Validate composer.json and composer.lock + run: composer validate + + - name: Install dependencies + run: composer install --prefer-dist --no-progress