Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ updates:
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
groups:
github-actions:
patterns:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/code-style-lint.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
name: Lint code style issues

on:
on: # zizmor: ignore[concurrency-limits]
pull_request:

permissions: {}

jobs:
lint-code-styling:
lint-code-styling: # zizmor: ignore[anonymous-definition]
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Check PHP code style issues
uses: aglipanci/laravel-pint-action@36de00d5f5a8a4e12d443e01671daa12a18f4c79 # v2.6
uses: aglipanci/laravel-pint-action@36de00d5f5a8a4e12d443e01671daa12a18f4c79 # 2.6
with:
testMode: true
verboseMode: true
pintVersion: 1.16.0
pintVersion: 1.16.0
14 changes: 11 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Run Tests

on:
on: # zizmor: ignore[concurrency-limits]
push:
branches:
- master
Expand All @@ -9,6 +9,8 @@ on:
schedule:
- cron: '0 0 * * *'

permissions: {}

jobs:
php-tests:
runs-on: ubuntu-latest
Expand All @@ -24,6 +26,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false

- name: Setup PHP
uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # v2
Expand All @@ -33,9 +37,13 @@ jobs:
coverage: none

- name: Install dependencies
shell: bash
env:
LARAVEL: ${{ matrix.laravel }}
STABILITY: ${{ matrix.stability }}
run: |
composer require "laravel/framework:${{ matrix.laravel }}" --no-interaction --no-update
composer update --${{ matrix.stability }} --prefer-dist --no-interaction --no-suggest
composer require "illuminate/contracts:$LARAVEL" --no-interaction --no-update
composer update --$STABILITY --prefer-dist --no-interaction --no-suggest

- name: Execute tests
run: vendor/bin/phpunit
23 changes: 23 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: GitHub Actions Security Analysis

on:
push:
branches:
- master
- '*.x'
paths:
- '.github/**.yml'
pull_request:
paths:
- '.github/**.yml'

permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
zizmor:
uses: statamic/.github/.github/workflows/zizmor.yml@7e941c239074d66da6cad3322bec3b1005c80cf7
permissions: {}