ci-fix
All checks were successful
/ ls (push) Successful in 12s

This commit is contained in:
lubiana 2024-05-04 20:24:31 +02:00
parent 00f72e3be9
commit e7ecf55e04
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -10,15 +10,16 @@ jobs:
REPO: '${{ github.repository }}' REPO: '${{ github.repository }}'
TOKEN: '${{ secrets.GITHUB_TOKEN }}' TOKEN: '${{ secrets.GITHUB_TOKEN }}'
GIT_SERVER: 'git.php.fail' GIT_SERVER: 'git.php.fail'
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
run: | run: |
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git . git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
git fetch git fetch
git checkout ${{ github.head_ref }} git checkout ${{ github.head_ref }}
- name: create composer cache dir - name: composer install
env:
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
run: | run: |
mkdir -p /opt/hostedtoolcache/.composer/cache/files mkdir -p ${{ env.COMPOSER_CACHE_DIR }}
- run: composer install composer install
- run: composer lint - run: composer lint
- name: GIT commit and push all changed files - name: GIT commit and push all changed files
env: env: