Skip to content

Latest commit

 

History

History
73 lines (60 loc) · 1.29 KB

README.md

File metadata and controls

73 lines (60 loc) · 1.29 KB

Buggregator

Buggregator GitHub Actions


General usage

This package allows us to reuse GitHub actions, which simplifies version management.

Example of use of the action PHPUnit

on:
  push:
    branches:
      - master
      - '*.*'
  pull_request: null
  
name: phpunit

jobs:
  phpunit:
    uses: buggregator/gh-actions/.github/workflows/phpunit.yml@master
    with:
      os: >-
        ['ubuntu-latest']
      php: >-
        ['8.3']

Example of use of the action PSALM

on:
  push:
    branches:
      - master
      - '*.*'
  pull_request: null

name: static analysis

jobs:
  psalm:
    uses: buggregator/gh-actions/.github/workflows/psalm.yml@master
    with:
      os: >-
        ['ubuntu-latest']
      php: >-
        ['8.3']
on:
  push:
    branches:
      - master
      - '*.*'
  pull_request: null

name: coding standards

jobs:
  coding-standards:
    uses: buggregator/gh-actions/.github/workflows/cs.yml@master
    with:
      os: >-
        ['ubuntu-latest']
      php: >-
        ['8.3']