-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat!: require php 8.3 * ci: add workflow for test * fix: malformed return statement
- Loading branch information
Showing
13 changed files
with
2,927 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
- name: Create Release and bump version files | ||
uses: helsingborg-stad/[email protected] | ||
with: | ||
php-version: 8.2 | ||
php-version: 8.3 | ||
node-version: 20.6.0 | ||
build-assets: | ||
needs: ['release'] | ||
|
@@ -75,7 +75,7 @@ jobs: | |
if: ${{ hashFiles('composer.json') != '' }} | ||
with: | ||
tools: composer | ||
php-version: '7.4' | ||
php-version: '8.3' | ||
|
||
- name: Build PHP | ||
if: ${{ hashFiles('composer.json') != '' }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
|
||
test: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup PHP with composer v2 | ||
uses: shivammathur/setup-php@v2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
php-version: '8.3' | ||
tools: composer:v2 | ||
|
||
- name: Install dependencies | ||
run: composer i | ||
|
||
- name: Run tests | ||
run: composer run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.