Skip to content

Commit

Permalink
fix git workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
digitlimit committed Nov 8, 2024
1 parent bceb8d0 commit 1ec3d91
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/githook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,21 @@ permissions:
contents: read

jobs:
build:
test-php-8-2:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'

- name: Validate composer.json and composer.lock
run: composer validate --strict

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-
- name: Install dependencies
run: composer install --prefer-dist --no-progress

Expand Down

0 comments on commit 1ec3d91

Please sign in to comment.