parent
00f72e3be9
commit
e7ecf55e04
1 changed files with 5 additions and 4 deletions
|
@ -10,15 +10,16 @@ jobs:
|
|||
REPO: '${{ github.repository }}'
|
||||
TOKEN: '${{ secrets.GITHUB_TOKEN }}'
|
||||
GIT_SERVER: 'git.php.fail'
|
||||
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
|
||||
run: |
|
||||
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git .
|
||||
git fetch
|
||||
git checkout ${{ github.head_ref }}
|
||||
- name: create composer cache dir
|
||||
- name: composer install
|
||||
env:
|
||||
COMPOSER_CACHE_DIR: /opt/hostedtoolcache/.composer/cache/files
|
||||
run: |
|
||||
mkdir -p /opt/hostedtoolcache/.composer/cache/files
|
||||
- run: composer install
|
||||
mkdir -p ${{ env.COMPOSER_CACHE_DIR }}
|
||||
composer install
|
||||
- run: composer lint
|
||||
- name: GIT commit and push all changed files
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue