diff --git a/.forgejo/workflows/pull_request.yml b/.forgejo/workflows/pull_request.yml index 554602d..a308cc3 100644 --- a/.forgejo/workflows/pull_request.yml +++ b/.forgejo/workflows/pull_request.yml @@ -3,26 +3,12 @@ jobs: ls: runs-on: docker steps: + - uses: actions/checkout@v4 - name: setup php uses: https://github.com/shivammathur/setup-php@v2 with: php-version: '8.4' tools: 'composer' - - name: Manually checkout - env: - REPO: '${{ github.repository }}' - TOKEN: '${{ secrets.GITHUB_TOKEN }}' - GIT_SERVER: 'git.hannover.ccc.de' - run: | - git clone --branch $GITHUB_HEAD_REF https://${TOKEN}@${GIT_SERVER}/${REPO}.git . - git fetch - git checkout $GITHUB_HEAD_REF - - name: composer install - env: - COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files - run: | - mkdir -p ${{ env.COMPOSER_CACHE_DIR }} - composer install - name: lint run: composer lint - name: test