Skip to content

Commit f2369f8

Browse files
committed
ci: update ci config
1 parent e737ada commit f2369f8

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Diff for: .github/workflows/build.yml renamed to .github/workflows/phpunit.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: build
1+
name: PHPUnit
22

33
on: [push, pull_request]
44

@@ -19,14 +19,13 @@ jobs:
1919
strategy:
2020
fail-fast: true
2121
matrix:
22-
php: [ 8.0, 8.1, 8.2, 8.3 ]
23-
stability: [ prefer-lowest, prefer-stable ]
22+
php: [ 8.0, 8.1, 8.2, 8.3, 8.4 ]
2423

25-
name: PHP ${{ matrix.php }} - ${{ matrix.stability }}
24+
name: PHP ${{ matrix.php }}
2625

2726
steps:
2827
- name: Checkout code
29-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
3029

3130
- name: Setup PHP
3231
uses: shivammathur/setup-php@v2
@@ -40,7 +39,7 @@ jobs:
4039

4140
- name: Cache Composer packages
4241
id: composer-cache
43-
uses: actions/cache@v2
42+
uses: actions/cache@v4
4443
with:
4544
path: vendor
4645
key: ${{ runner.os }}-${{ matrix.php }}-${{ hashFiles('**/composer.lock') }}
@@ -58,8 +57,8 @@ jobs:
5857
runs-on: ubuntu-latest
5958
needs: [ test ]
6059
steps:
61-
- uses: actions/checkout@v2
62-
- uses: actions/setup-node@v2
60+
- uses: actions/checkout@v4
61+
- uses: actions/setup-node@v4
6362
with:
6463
node-version: 'lts/*'
6564

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Doctrine DBAL Adapter for Casbin
22

3-
[![Build Status](https://github.com/php-casbin/dbal-adapter/actions/workflows/build.yml/badge.svg)](https://github.com/php-casbin/dbal-adapter/actions/workflows/build.yml)
3+
[![PHPUnit](https://github.com/php-casbin/dbal-adapter/actions/workflows/phpunit.yml/badge.svg)](https://github.com/php-casbin/dbal-adapter/actions/workflows/phpunit.yml)
44
[![Coverage Status](https://coveralls.io/repos/github/php-casbin/dbal-adapter/badge.svg)](https://coveralls.io/github/php-casbin/dbal-adapter)
55
[![Latest Stable Version](https://poser.pugx.org/casbin/dbal-adapter/v/stable)](https://packagist.org/packages/casbin/dbal-adapter)
66
[![Total Downloads](https://poser.pugx.org/casbin/dbal-adapter/downloads)](https://packagist.org/packages/casbin/dbal-adapter)

0 commit comments

Comments
 (0)