Skip to content

Commit

Permalink
⬆️ Bump minimum PHP version to 7.3 (#13)
Browse files Browse the repository at this point in the history
* Bump PHP version

* Update README

* Run once

* Merge workflow

* Rename job
  • Loading branch information
robbinjanssen authored Nov 4, 2021
1 parent d94fd44 commit 66c7733
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 35 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
- master

jobs:
build-test:
run-tests:
name: 🪲 Run tests
runs-on: ubuntu-latest

steps:
Expand All @@ -23,4 +24,22 @@ jobs:
- name: 🧰 Run unit tests
uses: php-actions/phpunit@v9
with:
configuration: phpunit.xml
configuration: phpunit.xml

check-code-style:
name: 💅🏻 Check code style
runs-on: ubuntu-latest

steps:
- name: 📥 Checkout repository
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}

- name: 🛠 Run php-cs-fixer
uses: docker://oskarstark/php-cs-fixer-ga

- name: 🤖 Apply php-cs-fixer changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply php-cs-fixer changes
28 changes: 0 additions & 28 deletions .github/workflows/lint.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
---
name: PR Labels
name: PR

# yamllint disable-line rule:truthy
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]

jobs:
pr_labels:
name: Verify
verify_pr_labels:
name: 🏷 Verify Labels
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
- name: Verify PR has a valid label
uses: jesusvasquez333/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The verification code can be sent (securely) to the receiver of the secure messa
message and read it.

## Requirements
This package requires at least PHP 7.1 with the [libsodium](https://github.com/jedisct1/libsodium-php) extension.
This package requires at least PHP 7.3 with the [sodium](https://www.php.net/manual/en/sodium.installation.php) extension enabled.

## Install

Expand Down

0 comments on commit 66c7733

Please sign in to comment.