Files
php-curl-class/.github/workflows/ci.yml
T
dependabot[bot] 0f7bd02e4b Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-05 13:26:36 +00:00

52 lines
1.1 KiB
YAML

name: ci
on:
push:
branches:
- master
- php5.x-master
pull_request:
schedule:
- cron: '0 17 * * *'
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- '8.0'
- '8.1'
- '8.2'
future-release: [false]
include:
- php-version: '8.3'
future-release: true
fail-fast: false
name: PHP ${{ matrix.php-version }}
continue-on-error: ${{ matrix.future-release }}
steps:
- name: Set up php
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
- name: Checkout
uses: actions/checkout@v4
- name: Test
run: bash tests/ci.sh
env:
CI_PHP_VERSION: ${{ matrix.php-version }}
CI_PHP_FUTURE_RELEASE: ${{ matrix.future-release }}
- name: Static analysis
run: 'vendor/bin/psalm --config="tests/psalm.xml"'
if: ${{ !matrix.future-release && matrix.php-version >= 7.1 }}