Skip to content

Commit

Permalink
added php versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanderheijden committed Jan 12, 2023
1 parent e9efe5c commit 5ed8d9e
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/php81.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP 8.1

on: push

jobs:
php80:
name: Check PHP 8.1
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
uses: php-actions/composer@v5
with:
php_version: 8.1
args: --prefer-dist --ignore-platform-reqs

- name: Check code styling
run: composer ecs-check

- name: Create keys
run: ./bin/create_keys

- name: Run unit and feature tests
run: composer test
27 changes: 27 additions & 0 deletions .github/workflows/php82.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: PHP 8.2

on: push

jobs:
php80:
name: Check PHP 8.2
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
uses: php-actions/composer@v5
with:
php_version: 8.2
args: --prefer-dist --ignore-platform-reqs

- name: Check code styling
run: composer ecs-check

- name: Create keys
run: ./bin/create_keys

- name: Run unit and feature tests
run: composer test

0 comments on commit 5ed8d9e

Please sign in to comment.