22 lines
827 B
YAML
22 lines
827 B
YAML
|
name: lint
|
||
|
run-name: lint is launched by ${{ github.actor }}
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
check:
|
||
|
runs-on: ubuntu-latest
|
||
|
name: lint
|
||
|
steps:
|
||
|
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||
|
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||
|
- name: Check out repository code
|
||
|
uses: actions/checkout@v4
|
||
|
- name: Install phplint using Composer
|
||
|
run: |
|
||
|
composer require --dev bamarni/composer-bin-plugin
|
||
|
composer bin phplint require --dev overtrue/phplint
|
||
|
- name: Lint
|
||
|
run: vendor/bin/phplint
|
||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||
|
|