Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

Commit

Permalink
add github action for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bernard-ng committed Jul 12, 2024
1 parent 6e2e896 commit 9dae2cc
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint
on: [push]
jobs:
lint:
name: PHP Lint
runs-on: ubuntu-latest
steps:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.3

- name: Cache Composer dependencies
uses: actions/cache@v2
with:
path: /tmp/composer-cache
key: ${{ runner.os }}-${{ hashFiles('**/composer.lock') }}

- uses: actions/checkout@master
- name: lint
run: make lint

0 comments on commit 9dae2cc

Please sign in to comment.