parent
730402e7ee
commit
fdbbbc3bd6
1 changed files with 1 additions and 15 deletions
|
@ -3,26 +3,12 @@ jobs:
|
||||||
ls:
|
ls:
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
steps:
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
- name: setup php
|
- name: setup php
|
||||||
uses: https://github.com/shivammathur/setup-php@v2
|
uses: https://github.com/shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: '8.4'
|
php-version: '8.4'
|
||||||
tools: 'composer'
|
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
|
- name: lint
|
||||||
run: composer lint
|
run: composer lint
|
||||||
- name: test
|
- name: test
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue