Componette

Componette

orisai

orisai / github-workflows

GitHub Actions reusable workflows and composed actions

Orisai
GitHub Workflows

GitHub Actions reusable workflows and composed actions

📄 Check out our documentation.

💸 If you like Orisai, please make a donation. Thank you!

name: "Static analysis"
on: ["push", "pull_request"]

jobs:
  static-analysis:
    name: "Static analysis"
    runs-on: "ubuntu-latest"

    steps:
      - name: "Checkout"
        uses: "actions/checkout@v2"

      - name: "PHP"
        uses: "orisai/github-workflows/.github/actions/setup-php@v1"
        with:
          version: "8.1"
          token: "${{ secrets.GITHUB_TOKEN }}"

      - name: "Composer"
        uses: "orisai/github-workflows/.github/actions/setup-composer@v1"

      - name: "PHPStan"
        uses: "orisai/github-workflows/.github/actions/phpstan@v1"
        with:
          command: "vendor/bin/phpstan"
          cache-path: "var/tools/PHPStan"

Example is simplified, check documentation for complex version

No release at this moment. Try to create first one.

bar-chart-fill

Statistics

download-cloud-fill
N/A
star-fill
2
bug-fill
0
flashlight-fill
1.2y
price-tag-2-line

Badges

Componette Componette felix@nette.org