GithubHelp home page GithubHelp logo

vk26 / action-fasterer Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 6.0 102 KB

Github Action to run fasterer with reviewdog ๐Ÿถ

License: MIT License

Dockerfile 45.96% Shell 54.04%
reviewdog github-action linter fasterer

action-fasterer's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

action-fasterer's Issues

Git failure

I'm getting the failure below when running my job.

error

reviewdog: GitHubPullRequest needs 'git' command: failed to run 'git rev-parse --show-prefix': exit status 128
/usr/local/bundle/gems/fasterer-0.10.1/lib/fasterer/file_traverser.rb:86:in `write': Broken pipe @ io_write - <STDOUT> (Errno::EPIPE)

quality.yml

name: "Quality"
on:
  # push:
  #   branches: [ "main" ]
  pull_request:
    branches: [ "main" ]
permissions:
  contents: read
  pull-requests: write
concurrency:
  group: quality-${{ github.ref }}
  cancel-in-progress: true
env:
  SIMPLE_COV_REVIEW: true
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3
      - name: Set up Ruby
        run: echo 2.7.7 > .ruby-version
      - name: Install Ruby and gems
        uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
        with:
          bundler-cache: true
      # - name: Install Extra Gems
      #   run: gem install simplecov-json simplecov-review --no-document
      # - name: Fetch main for comparison
      #   run: git fetch origin main:refs/remotes/origin/main
      - name: fasterer
        uses: vk26/action-fasterer@v1
        with:
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review # Default is github-pr-check
      - name: Brakeman via Reviewdog
        uses: reviewdog/action-brakeman@v2
        with:
          brakeman_version: 5.4.1
          reporter: github-pr-review # Default is github-pr-check
      - name: Rubocop via Reviewdog
        uses: reviewdog/action-rubocop@v2
        with:
          rubocop_version: gemfile
          rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile rubocop-performance:gemfile rubocop-faker:gemfile
          reporter: github-pr-review # Default is github-pr-check

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.