test
Some checks failed
/ ls (pull_request) Has been cancelled

This commit is contained in:
lubiana 2025-05-21 22:02:09 +02:00
parent 730402e7ee
commit fdbbbc3bd6
Signed by: lubiana
SSH key fingerprint: SHA256:vW1EA0fRR3Fw+dD/sM0K+x3Il2gSry6YRYHqOeQwrfk

View file

@ -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