Skip to content

Commit 98e06ba

Browse files
committed
feat: Upgrade to PHP 8.0 and PHP-Casbin 4.0
1 parent 8fb08da commit 98e06ba

File tree

1 file changed

+1
-37
lines changed

1 file changed

+1
-37
lines changed

.github/workflows/default.yml

+1-37
Original file line numberDiff line numberDiff line change
@@ -48,40 +48,4 @@ jobs:
4848
4949
- name: Install dependencies
5050
if: steps.composer-cache.outputs.cache-hit != 'true'
51-
run: composer install --prefer-dist --no-progress --no-suggest
52-
53-
- name: Run test suite
54-
run: ./vendor/bin/phpunit
55-
56-
- name: Run Coveralls
57-
env:
58-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59-
COVERALLS_PARALLEL: true
60-
COVERALLS_FLAG_NAME: ${{ runner.os }} - ${{ matrix.php }}
61-
run: |
62-
composer global require php-coveralls/php-coveralls:^2.4
63-
php-coveralls --coverage_clover=build/logs/clover.xml -v
64-
65-
upload-coverage:
66-
runs-on: ubuntu-latest
67-
needs: [ test ]
68-
steps:
69-
- name: Coveralls Finished
70-
uses: coverallsapp/github-action@master
71-
with:
72-
github-token: ${{ secrets.GITHUB_TOKEN }}
73-
parallel-finished: true
74-
75-
semantic-release:
76-
runs-on: ubuntu-latest
77-
needs: [ test ]
78-
steps:
79-
- uses: actions/checkout@v3
80-
- uses: actions/setup-node@v3
81-
with:
82-
node-version: 'lts/*'
83-
84-
- name: Run semantic-release
85-
env:
86-
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
87-
run: npx semantic-release
51+
run: composer install --prefer-dist --no-progress --no-suggest

0 commit comments

Comments
 (0)