Skip to content

Commit d3c171a

Browse files
hsluoyzleeqvip
andauthored
feat: upgrade casbin dependency to 3.21.6 (#5)
* feat: upgrade casbin dependency to 3.21.6 * fix: add phpunit 8.0 * fix: add phpunit 9.0 * ci: update nodejs to v4 --------- Co-authored-by: Jon <techlee@qq.com>
1 parent 9a26e4e commit d3c171a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ jobs:
7575
needs: [ test, upload-coverage ]
7676
steps:
7777
- uses: actions/checkout@v2
78-
- uses: actions/setup-node@v1
78+
- uses: actions/setup-node@v4
7979
with:
80-
node-version: '12'
80+
node-version: 'lts/*'
8181

8282
- name: Run semantic-release
8383
env:
8484
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
85-
run: npx semantic-release
85+
run: npx semantic-release

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"require": {
2525
"php": ">=7.2",
2626
"codeigniter4/framework": "^4",
27-
"casbin/casbin": "^2.0",
27+
"casbin/casbin": "^3.21.6",
2828
"casbin/psr3-bridge": "^1.1"
2929
},
3030
"autoload": {
@@ -33,12 +33,12 @@
3333
}
3434
},
3535
"require-dev": {
36-
"phpunit/phpunit": "^7.0",
36+
"phpunit/phpunit": "^7.0|^8.0|^9.0",
3737
"php-coveralls/php-coveralls": "^2.1"
3838
},
3939
"autoload-dev": {
4040
"psr-4": {
4141
"Casbin\\CodeIgniter\\Tests\\": "tests/"
4242
}
4343
}
44-
}
44+
}

0 commit comments

Comments
 (0)