Skip to content

Commit 70d30cd

Browse files
authored
chore: upgrade to latest PHP SDK (#2)
1 parent ab14c03 commit 70d30cd

3 files changed

Lines changed: 64 additions & 146 deletions

File tree

‎.github/workflows/checks.yml‎

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: Checks
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: checks-${{ github.workflow }}-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
checks:
18+
name: PHP ${{ matrix.php-version }}
19+
runs-on: ubuntu-latest
20+
timeout-minutes: 10
21+
22+
strategy:
23+
fail-fast: false
24+
matrix:
25+
php-version:
26+
- "8.0"
27+
- "8.5"
28+
29+
steps:
30+
- name: Check out repository
31+
uses: actions/checkout@v7
32+
33+
- name: Set up PHP ${{ matrix.php-version }}
34+
uses: shivammathur/setup-php@v2
35+
with:
36+
php-version: ${{ matrix.php-version }}
37+
tools: composer:v2
38+
coverage: none
39+
40+
- name: Validate dependencies
41+
run: composer validate --strict
42+
43+
- name: Install dependencies
44+
run: composer install --no-interaction --prefer-dist --no-progress
45+
46+
- name: Check syntax
47+
run: php -l src/index.php
48+
49+
- name: Run application
50+
run: php src/index.php

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"type": "project",
55
"license": "MIT",
66
"require": {
7-
"featurevisor/featurevisor-php": "^1.0"
7+
"featurevisor/featurevisor-php": "^2.0"
88
}
99
}

‎composer.lock‎

Lines changed: 13 additions & 145 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)