Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Lint code

on: [push]
on: [push, pull_request]

jobs:
lint:
Expand All @@ -10,15 +10,13 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
uses: actions/checkout@v6

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: json, zip, dom, curl, libxml, mbstring
php-version: '8.0'
extensions: json
tools: composer:v2
coverage: none

Expand All @@ -29,6 +27,6 @@ jobs:
run: composer run lint

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: 'chore: fix styling'
7 changes: 3 additions & 4 deletions alchemy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ app:

tests:
engine: pest
parallel: false
parallel: true
paths:
- tests
files:
Expand All @@ -22,17 +22,16 @@ lint:
actions:
run:
- lint
- tests
os:
- ubuntu-latest
- windows-latest
php:
extensions: json, zip, dom, curl, libxml, mbstring, PDO_PGSQL
extensions: json
versions:
- '8.3'
- '8.2'
- '8.1'
- '8.0'
- '7.4'
events:
- push
- pull_request
Loading