-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (35 loc) · 904 Bytes
/
ci.yml
File metadata and controls
42 lines (35 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Run CI
on:
push:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [ main, 'feat/**' ]
paths-ignore:
- '**.md'
jobs:
ci-build:
runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
fail-fast: false
matrix:
include:
- php-version: 8.1
use-lowest-dependencies: true
- php-version: 8.2
use-lowest-dependencies: false
- php-version: 8.3
use-lowest-dependencies: false
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/ci
with:
php-version: ${{ matrix.php-version }}
use-lowest-dependencies: ${{ matrix.use-lowest-dependencies }}
token: ${{ secrets.GITHUB_TOKEN }}