Skip to content

Commit

Permalink
[5.x] Feature/5.x (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: Duncan McClean <[email protected]>
Co-authored-by: John Koster <[email protected]>
Co-authored-by: Jason Varga <[email protected]>
Co-authored-by: Peiman Nourani <[email protected]>
Co-authored-by: duncanmcclean <[email protected]>
Co-authored-by: Jack Sleight <[email protected]>
Co-authored-by: Emmanuel Beauchamps <[email protected]>
Co-authored-by: Simon Schweißinger <[email protected]>
Co-authored-by: Michael Aerni <[email protected]>
Co-authored-by: Arthur Perton <[email protected]>
Co-authored-by: Daniel Kaufmann <[email protected]>
Co-authored-by: Ryan Mitchell <[email protected]>
Co-authored-by: Jesse Leite <[email protected]>
Co-authored-by: jasonvarga <[email protected]>
Co-authored-by: Jack McDade <[email protected]>
Co-authored-by: PatrickJunod <[email protected]>
Co-authored-by: Jim Blue <[email protected]>
Co-authored-by: jimblue <[email protected]>
Co-authored-by: Lukas <[email protected]>
Co-authored-by: Rob de Kort <[email protected]>
Co-authored-by: Ammonite Digital <[email protected]>
Co-authored-by: Danique Wijnalda <[email protected]>
Co-authored-by: Tin <[email protected]>
Co-authored-by: Marty Friedel <[email protected]>
Co-authored-by: Potsky <[email protected]>
Co-authored-by: Julius Kiekbusch <[email protected]>
Co-authored-by: Daniel Weaver <[email protected]>
Co-authored-by: Erin Dalzell <[email protected]>
Co-authored-by: Roy Duineveld <[email protected]>
Co-authored-by: Morten Bak <[email protected]>
Co-authored-by: Morten Bak <[email protected]>
Co-authored-by: Aaron Bushnell <[email protected]>
Co-authored-by: Lakkes Ra <[email protected]>
Co-authored-by: Espen Grimsgaard <[email protected]>
Co-authored-by: Rob Gabaree <[email protected]>
Co-authored-by: Oliver Mesieh <[email protected]>
Co-authored-by: Rias <[email protected]>
  • Loading branch information
Show file tree
Hide file tree
Showing 1,039 changed files with 25,210 additions and 12,205 deletions.
11 changes: 1 addition & 10 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ body:
label: Environment
description: |
Details about your environment. Versions of Statamic, PHP, Laravel, any addons that are installed, etc.
(Go ahead and just paste the output of the `php please support:details` command.)
(Go ahead and just paste the output of the `php please support:details` command.)
render: yaml # the format of the command is close to yaml and gets highlighted nicely
validations:
required: true
Expand All @@ -40,15 +40,6 @@ body:
- Other (please explain)
validations:
required: true
- type: dropdown
attributes:
label: Antlers Parser
description: If using 3.3+, which Antlers Parser are you using?
options:
- Runtime (default)
- Regex (legacy)
validations:
required: false
- type: textarea
attributes:
label: Additional details
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pint-fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.PINT }}

- name: Fix PHP code style issues
uses: aglipanci/laravel-pint-action@1.0.0
uses: aglipanci/laravel-pint-action@v2

- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Fix styling
4 changes: 2 additions & 2 deletions .github/workflows/pint-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check PHP code style issues
uses: aglipanci/laravel-pint-action@1.0.0
uses: aglipanci/laravel-pint-action@v2
with:
testMode: true
verboseMode: true
2 changes: 1 addition & 1 deletion .github/workflows/pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uneditable:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
script: |
const repo = context.repo.repo;
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Use Node.js 16.13.0
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 16.13.0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
Expand Down
45 changes: 26 additions & 19 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Run Tests

on:
push:
branches:
- master
- '*.x'
pull_request:
schedule:
- cron: '0 0 * * *'
Expand All @@ -13,34 +16,32 @@ jobs:

strategy:
matrix:
php: [8.0, 8.1, 8.2, 8.3]
laravel: [9.*, 10.*]
php: [8.1, 8.2, 8.3]
laravel: [10.*, 11.*]
stability: [prefer-lowest, prefer-stable]
os: [ubuntu-latest]
include:
- os: windows-latest
php: 8.1
laravel: 9.*
php: 8.3
laravel: 10.*
stability: prefer-stable
- os: windows-latest
php: 8.1
laravel: 10.*
php: 8.3
laravel: 11.*
stability: prefer-stable
exclude:
- php: 8.0
laravel: 10.*
- php: 8.3
laravel: 9.*
- php: 8.1
laravel: 11.*

name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}

steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
uses: tj-actions/changed-files@v44
with:
files: |
config
Expand Down Expand Up @@ -77,11 +78,11 @@ jobs:
if: steps.should-run-tests.outputs.result == 'true'
with:
php-version: ${{ matrix.php }}
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
extensions: fileinfo, exif, gd, pdo, sqlite, pdo_sqlite
coverage: none

- name: Install dependencies
uses: nick-invision/retry@v2
uses: nick-invision/retry@v3
if: steps.should-run-tests.outputs.result == 'true'
with:
timeout_minutes: 5
Expand All @@ -106,11 +107,11 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v1
uses: actions/checkout@v4

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v42
uses: tj-actions/changed-files@v44
with:
files: |
**.{js,vue,ts}
Expand All @@ -124,6 +125,11 @@ jobs:
echo "result=true" >> $GITHUB_OUTPUT
echo "result=true" >> $env:GITHUB_OUTPUT
- name: Use Node.js 16.13.0
uses: actions/setup-node@v4
with:
node-version: 16.13.0

- name: Install required npm version
if: steps.should-run-tests.outputs.result == 'true'
run: npm -g install [email protected]
Expand All @@ -142,12 +148,13 @@ jobs:
needs: [php-tests, js-tests]
if: always()
steps:
- uses: technote-space/workflow-conclusion-action@v1
- uses: technote-space/workflow-conclusion-action@v3
- name: Send Slack notification
uses: 8398a7/action-slack@v2
if: env.WORKFLOW_CONCLUSION == 'failure'
uses: 8398a7/action-slack@v3
if: env.WORKFLOW_CONCLUSION == 'failure' && github.event_name == 'schedule'
with:
status: failure
fields: repo,message,commit,author,action,eventName,ref,workflow
author_name: ${{ github.actor }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down
Loading

0 comments on commit 3dd5fba

Please sign in to comment.