From ae84b0bbea656bb19a2f531216a1c4d838e5e3a5 Mon Sep 17 00:00:00 2001 From: Inhere Date: Tue, 7 Dec 2021 22:56:34 +0800 Subject: [PATCH] update: only tests on php 8.0+ --- .github/workflows/php.yml | 10 +++++----- .github/workflows/release.yml | 2 +- README.md | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 969bddb..d9ee4f6 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -15,12 +15,12 @@ jobs: strategy: fail-fast: true matrix: - php: [7.3, 7.4, 8.0, 8.1] + php: [8.0, 8.1] # os: [ubuntu-latest, macOS-latest] # windows-latest, - include: - - os: 'ubuntu-latest' - php: '7.2' - phpunit: '8.5.13' +# include: +# - os: 'ubuntu-latest' +# php: '7.2' +# phpunit: '8.5.13' steps: - name: Checkout diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 21de28c..8989e83 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,4 +41,4 @@ jobs: tag_name: ${{ env.RELEASE_TAG }} body_path: changelog.md env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 9954ff6..127b48a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # HTTP Client [![License](https://img.shields.io/packagist/l/phppkg/http-client.svg?style=flat-square)](LICENSE) -[![Php Version](https://img.shields.io/badge/php-%3E=7.2-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/phppkg/http-client) +[![Php Version](https://img.shields.io/badge/php-%3E=8.0-brightgreen.svg?maxAge=2592000)](https://packagist.org/packages/phppkg/http-client) [![Latest Stable Version](http://img.shields.io/packagist/v/phppkg/http-client.svg)](https://packagist.org/packages/phppkg/http-client) [![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/phppkg/http-client)](https://github.com/phppkg/http-client) [![Github Actions Status](https://github.com/phppkg/http-client/workflows/Unit-tests/badge.svg)](https://github.com/phppkg/http-client/actions)