[general] Upgrading simple auth to use casbin (#274) #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Code Linting" | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
push: | |
branches: | |
- "main" | |
tags: | |
- v* | |
schedule: | |
- cron: "0 8 * * 1" # At 08:00 on Monday | |
env: | |
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.ORGANIZATION_ACCESS_TOKEN }}"}}' | |
jobs: | |
php: | |
name: "PHP Lint" | |
uses: "fastybird/.github/.github/workflows/php-lint.yaml@main" | |
secrets: inherit | |
with: | |
php: "${{ matrix.php-version }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
php-version: [ "8.2" ] | |
operating-system: [ "ubuntu-latest" ] |