Skip to content

Feature: 1Password CLI Integration #143

Feature: 1Password CLI Integration

Feature: 1Password CLI Integration #143

Workflow file for this run

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 }}