ScaCap / action-ktlint

Run Ktlint with reviewdog
Apache License 2.0
84 stars 29 forks source link

Running kt-lint on self-hosted #13

Closed bhavik-lfc closed 3 years ago

bhavik-lfc commented 4 years ago

I have run reviewdog with fastlane on ubuntu-latest and it works perfect.

When I run it on self-hosted It gives me below error

image

This is my yml file

lintCheck:
    name: Lint Check
    runs-on: self-hosted
    steps:
      - name: checkout
        uses: actions/checkout@v2
      - name: Set up Ruby 2.6
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6.x
      - name: Install Dependencies
        run: gem install bundler && bundle install
      - name: Lint
        run: bundle exec fastlane lint
      - name: Run Android Lint
        uses: dvdandroid/action-android-lint@master
        with:
          github_token: ${{ secrets.TOKEN_GITHUB }}
          lint_xml_file: app/build/reports/lint-results.xml

Any Ideas what could be the reason?

renatoabreu11 commented 3 years ago
dvdandroid/action-android-lint@master

The problem arises from the setup of the action dvdandroid/action-android-lint@master, which is not related to this repository. Please check the problem the respective action creator.