zgosalvez / github-actions-analyze-dart

A Github Action to analyze your project's Dart code
https://github.com/marketplace/actions/analyze-dart
MIT License
23 stars 12 forks source link

Annotations section not populated with anything #8

Open Bhupesh-V opened 3 years ago

Bhupesh-V commented 3 years ago

I have the following config

on: push

name: Static Analysis

jobs:
  build:
    name: Static Analysis
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
        with:
          submodules: recursive
          token: ${{ secrets.GITHUB_TOKEN }}
      - uses: actions/setup-java@v1
        with:
          java-version: '12.x'
      - name: Set up Flutter
        uses: subosito/flutter-action@v1
      - name: Setup dependencies
        run: flutter pub get
      - name: Analyze Dart
        uses: zgosalvez/github-actions-analyze-dart@v1
        with:
          fail-on-warnings: true

I can see that the warnings are successfully printed in the logs but the annotation section gives this error

Screenshot 2021-11-08 at 2 07 47 PM
Bhupesh-V commented 3 years ago

update: seems like this is also related to #2 I had a folder ignored in analysis_options but the action is still running inside that folder, that's why its failing