Feature: 1Password CLI Integration #143
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 Quality Checks' | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
push: | |
branches: | |
- main | |
- develop | |
jobs: | |
coding-standards: | |
name: 'Coding Standards' | |
uses: ./.github/workflows/phpcs.yml | |
secrets: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
OP_VAULT: ${{ secrets.OP_VAULT }} | |
OP_ITEM: ${{ secrets.OP_ITEM }} | |
linting: | |
name: 'Linting' | |
uses: ./.github/workflows/linting.yml | |
phpstan: | |
name: 'Static Analysis' | |
needs: [coding-standards, linting] | |
uses: ./.github/workflows/static-analysis.yml | |
secrets: | |
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
OP_VAULT: ${{ secrets.OP_VAULT }} | |
OP_ITEM: ${{ secrets.OP_ITEM }} | |
# Enable this job if you have PHPUnit tests | |
# slic: | |
# name: 'PHP Tests' | |
# needs: [coding-standards, phpstan, linting] | |
# uses: ./.github/workflows/php-tests.yml | |
# secrets: | |
# OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }} | |
# OP_VAULT: ${{ secrets.OP_VAULT }} | |
# OP_ITEM: ${{ secrets.OP_ITEM }} |