All Projects → stefanzweifel → laravel-phpinsights-action

stefanzweifel / laravel-phpinsights-action

Licence: MIT license
Run PHP Insights in Laravel in Github Actions

Programming Languages

Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to laravel-phpinsights-action

googlejavaformat-action
GitHub Action that formats Java files following Google Style guidelines
Stars: ✭ 66 (+288.24%)
Mutual labels:  github-actions, github-action
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+858.82%)
Mutual labels:  github-actions, github-action
Github-Android-Action
Android Github Action that builds Android project, runs unit tests and generates debug APK, builds for Github Actions hackathon
Stars: ✭ 29 (+70.59%)
Mutual labels:  github-actions, github-action
action-netlify-deploy
🙌 Netlify deployments via GitHub actions
Stars: ✭ 32 (+88.24%)
Mutual labels:  github-actions, github-action
bump-everywhere
🚀 Automate versioning, changelog creation, README updates and GitHub releases using GitHub Actions,npm, docker or bash.
Stars: ✭ 24 (+41.18%)
Mutual labels:  github-actions, github-action
setup-jdk
(DEPRECATED) Set up your GitHub Actions workflow with a specific version of AdoptOpenJDK
Stars: ✭ 32 (+88.24%)
Mutual labels:  github-actions, github-action
github-deploy-actions
This action will auto deploy to target branch when it get triggered
Stars: ✭ 24 (+41.18%)
Mutual labels:  github-actions, github-action
recent-activity
Add your recent activity to your profile readme!
Stars: ✭ 87 (+411.76%)
Mutual labels:  github-actions, github-action
assign-one-project-github-action
Automatically add an issue or pull request to specific GitHub Project(s) when you create and/or label them.
Stars: ✭ 140 (+723.53%)
Mutual labels:  github-actions, github-action
hugo-action
Commands to help with building Hugo based static sites
Stars: ✭ 65 (+282.35%)
Mutual labels:  github-actions, github-action
changed-files
Github action to retrieve all (added, copied, modified, deleted, renamed, type changed, unmerged, unknown) files and directories.
Stars: ✭ 733 (+4211.76%)
Mutual labels:  github-actions, github-action
pr-reviews-reminder-action
A GitHub Action to send Slack/Teams notification for Pull Request that are waiting for reviewers.
Stars: ✭ 18 (+5.88%)
Mutual labels:  github-actions, github-action
slsa-provenance-action
Github Action implementation of SLSA Provenance Generation
Stars: ✭ 34 (+100%)
Mutual labels:  github-actions, github-action
clojure-dependency-update-action
A simple GitHub Actions job to create Pull Requests for outdated dependencies in clojure projects
Stars: ✭ 37 (+117.65%)
Mutual labels:  github-actions, github-action
setup-bats
GitHub Action to setup BATS testing framework
Stars: ✭ 25 (+47.06%)
Mutual labels:  github-actions, github-action
translation-action
GitHub action that translates any text to any language supported by chosen provider.
Stars: ✭ 25 (+47.06%)
Mutual labels:  github-actions, github-action
restrict-cursing-action
Github Action to prevent cursing and bad language in issues and pull requests
Stars: ✭ 20 (+17.65%)
Mutual labels:  github-actions, github-action
action-github-workflow-sync
Github Action To Sync Github Action's Workflow Files Across Repositories
Stars: ✭ 51 (+200%)
Mutual labels:  github-actions, github-action
action-ssh
GitHub Action for executing SSH commands on remote servers
Stars: ✭ 60 (+252.94%)
Mutual labels:  github-actions, github-action
ssh2actions
Connect to GitHub Actions VM via SSH for interactive debugging
Stars: ✭ 62 (+264.71%)
Mutual labels:  github-actions, github-action

laravel-phpinsights-action

This GitHub Action executes Laravel Artisan Command of phpinsights. The output of the Insights Command can be viewed in the Actions log.

You can optionally define minimum values for Insights categories. If the value falls below your given threshold, the run fails.

Usage

This Action doesn't install composer dependencies on it's own and doesn't contain a phpinsights binary.

It's therefore required that phpinsights is set as a dependency in your project and that another Action installs the composer dependencies.

An example Workflow can look like this.

name: PHP Insights

on: push

jobs:
  phpinsights:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1

    - uses: MilesChou/composer-action@master
      with:
        args: install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist

    - uses: stefanzweifel/[email protected]

Arguments

You can pass any valid phpinsights argument to the Action. In this example, all issues are always displayed and a minimum value of 80 has to be achieved in all categories.

name: PHP Insights

on: push

jobs:
  phpinsights:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1

    - uses: MilesChou/composer-action@master
      with:
        args: install -q --no-ansi --no-interaction --no-scripts --no-suggest --no-progress --prefer-dist

    - uses: stefanzweifel/[email protected]
      with:
        args: -v --min-quality=80 --min-complexity=80 --min-architecture=80 --min-style=80 --disable-security-check

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].