ci(lint): sync workflow with current standard

This commit is contained in:
alistair3149 2024-09-04 16:14:55 -04:00
parent ea1c1e97e0
commit 6994c2d641
No known key found for this signature in database

View file

@ -3,24 +3,24 @@ name: Lint
on:
push:
branches:
- '**'
- "**"
- "!**dependabot/**"
- "!**release-please--**"
pull_request:
branches:
- '**'
- "**"
- "!**dependabot/**"
- "!**release-please--**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.1', '8.0', '7.4']
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.