Skip to content

Commit

Permalink
Merge pull request #13 from Frederick888/ci-php83 into master
Browse files Browse the repository at this point in the history
* ci-php83:
  Add PHP 8.3 to CI
  Bump actions/checkout to v4
  Allow gh-ph to run on PRs from forks
  • Loading branch information
Frederick888 committed Jan 16, 2024
2 parents b6098d9 + a9ba41b commit 5330d7f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/gh-ph.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
name: Pull request history

on:
pull_request:
pull_request_target:

permissions:
contents: read
pull-requests: write

jobs:
gh-ph:
name: Add commit history to pull request description
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Frederick888/gh-ph@v1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
php-version: ["8.2", "8.1", "8.0", "7.4", "7.3"]
php-version: ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cancel Previous Runs
if: contains(matrix.os, 'ubuntu') && contains(matrix.php-version, '8.2')
if: contains(matrix.os, 'ubuntu') && contains(matrix.php-version, '8.3')
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
Expand Down
4 changes: 4 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ before_script:
paths:
- modules/bencode.so

php83:
extends: .php
image: php:8.3

php82:
extends: .php
image: php:8.2
Expand Down

0 comments on commit 5330d7f

Please sign in to comment.