Skip to content

Commit

Permalink
Include PHP 8.3 in build matrix (#112)
Browse files Browse the repository at this point in the history
* Include PHP 8.3 in build matrix

* Bump deps in actions

* Upgrade default php version

* Switch to php/setup-php-sdk

* Keep actions up to date

---------

Co-authored-by: Brett McBride <brett.a.mcbride@gmail.com>
  • Loading branch information
cedricziel and brettmc committed Dec 2, 2023
1 parent 015dc8e commit dce7d0b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2', '8.3']
os: ['debian', 'alpine']
container:
image: ghcr.io/open-telemetry/opentelemetry-php-instrumentation/php:${{ matrix.php }}-${{ matrix.os }}-debug
Expand All @@ -35,7 +35,7 @@ jobs:
pecl-package:
runs-on: ubuntu-latest
container:
image: php:8.2-cli
image: php:8.3-cli
steps:
- uses: actions/checkout@v3

Expand All @@ -58,13 +58,13 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2']
php: ['8.0', '8.1', '8.2', '8.3']
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install PHP ${{ matrix.php }}
uses: cmb69/setup-php-sdk@v0.7
id: setup-php-sdk
uses: php/setup-php-sdk@v0.8
with:
version: ${{ matrix.php }}
arch: x64
Expand Down Expand Up @@ -117,4 +117,4 @@ jobs:
with:
generate_release_notes: true
draft: true
files: "**/binaries/*.zip"
files: "**/binaries/*.zip"
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
PHP_VERSION ?= 8.2.7
PHP_VERSION ?= 8.3.0
DISTRO ?= debian

.DEFAULT_GOAL : help
Expand All @@ -21,4 +21,4 @@ build: ## Build extension
docker compose run $(DISTRO) ./build.sh
test: ## Run tests
docker compose run $(DISTRO) make test
.PHONY: clean build test git-clean
.PHONY: clean build test git-clean

0 comments on commit dce7d0b

Please sign in to comment.