Skip to content

Commit

Permalink
fixup! Added roles and permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
troccoli committed Oct 11, 2024
1 parent 242bd8c commit 5fbdb89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
matrix:
os: ['ubuntu-latest', 'macos-latest']
php: ['8.3']
uses: ./.github/workflows/pint.yml ./.github/workflows/test.yml
uses: ./.github/workflows/test.yml
with:
os: ${{ matrix.os }}
php: ${{ matrix.php }}
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/pint.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: Code Style

on:
workflow_call:
inputs:
os:
required: true
type: string
php:
required: true
type: string
on: [ push ]

env:
OPERATING_SYSTEM: ubuntu-latest
PHP_VERSION: 8.3

jobs:
pint:
runs-on: ${{ inputs.os }}
runs-on: ${{ env.OPERATING_SYSTEM }}

steps:
- name: Checkout code
Expand All @@ -21,7 +17,7 @@ jobs:
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ inputs.php }}
php-version: ${{ env.PHP_VERSION }}
extensions: json, dom, curl, libxml, mbstring
coverage: none

Expand Down

0 comments on commit 5fbdb89

Please sign in to comment.