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: on:
push: push:
branches: branches:
- '**' - "**"
- "!**dependabot/**"
- "!**release-please--**"
pull_request: pull_request:
branches: branches:
- '**' - "**"
- "!**dependabot/**"
- "!**release-please--**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
test: test:
name: Lint name: Lint
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: steps:
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 }}
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
fetch-depth: 0 # OR "2" -> To retrieve the preceding commit. fetch-depth: 0 # OR "2" -> To retrieve the preceding commit.