diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3cf0651..5866f32 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -75,11 +75,11 @@ jobs: needs: [ test, upload-coverage ] steps: - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 + - uses: actions/setup-node@v4 with: - node-version: '12' + node-version: 'lts/*' - name: Run semantic-release env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - run: npx semantic-release \ No newline at end of file + run: npx semantic-release diff --git a/composer.json b/composer.json index b2f5016..2af7ac6 100755 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "require": { "php": ">=7.2", "codeigniter4/framework": "^4", - "casbin/casbin": "^2.0", + "casbin/casbin": "^3.21.6", "casbin/psr3-bridge": "^1.1" }, "autoload": { @@ -33,7 +33,7 @@ } }, "require-dev": { - "phpunit/phpunit": "^7.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0", "php-coveralls/php-coveralls": "^2.1" }, "autoload-dev": { @@ -41,4 +41,4 @@ "Casbin\\CodeIgniter\\Tests\\": "tests/" } } -} \ No newline at end of file +}