Change frame path, php-cs-fixer #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches-ignore: | |
- main | |
name: CI:test | |
jobs: | |
deploy-test: | |
name: Deploy to hatt.style | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.2' | |
- name: Get composer cache directory | |
id: composer-cache | |
run: echo "::set-output name=dir::$(composer config cache-files-dir)" | |
- name: Cache dependencies | |
uses: actions/cache@v1 | |
with: | |
path: ${{ steps.composer-cache.outputs.dir }} | |
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }} | |
restore-keys: ${{ runner.os }}-composer- | |
- name: Install dependencies | |
run: composer install --prefer-dist | |
# - name: Get npm cache directory | |
# id: npm-cache | |
# run: | | |
# echo "::set-output name=dir::$(npm config get cache)" | |
# - uses: actions/cache@v1 | |
# with: | |
# path: ${{ steps.npm-cache.outputs.dir }} | |
# key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-node- | |
# - name: Install JavaScript dependencies | |
# run: npm install | |
- name: PHP Code style check | |
run: composer fixdiff |