@@ -42,28 +42,26 @@ jobs:
42
42
- name : Check formatting of all packages
43
43
run : dart format --set-exit-if-changed --fix .
44
44
45
- # Temporarily disable until axel-op/dart-package-analyzer fix for
46
- # https://github.com/axel-op/dart-package-analyzer/issues/27 ships.
47
- # pana:
48
- # runs-on: ubuntu-22.04
49
- # permissions:
50
- # checks: write # to publish the report
51
- # steps:
52
- # - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
53
- # - uses: axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 # v3
54
- # id: analysis # set an id for the current step
55
- # with:
56
- # githubToken: ${{ secrets.GITHUB_TOKEN }}
57
- # relativePath: objectbox
58
- # # You can then use this id to retrieve the outputs in the next steps.
59
- # # The following step shows how to exit the workflow with an error if a score is below 100:
60
- # - name: Check scores
61
- # shell: bash
62
- # run: |
63
- # if (( ${{ steps.analysis.outputs.total }} < 100 )); then
64
- # echo "Expected score 130, got ${{ steps.analysis.outputs.total }}, please check the analysis report and resolve the issues"
65
- # exit 1
66
- # fi
45
+ pana :
46
+ runs-on : ubuntu-22.04
47
+ permissions :
48
+ checks : write # to publish the report
49
+ steps :
50
+ - uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
51
+ - uses : axel-op/dart-package-analyzer@7a6c3c66bce78d82b729a1ffef2d9458fde6c8d2 # v3
52
+ id : analysis # set an id for the current step
53
+ with :
54
+ githubToken : ${{ secrets.GITHUB_TOKEN }}
55
+ relativePath : objectbox
56
+ # You can then use this id to retrieve the outputs in the next steps.
57
+ # The following step shows how to exit the workflow with an error if a score is below 100:
58
+ - name : Check scores
59
+ shell : bash
60
+ run : |
61
+ if (( ${{ steps.analysis.outputs.total }} < 100 )); then
62
+ echo "Expected score 130, got ${{ steps.analysis.outputs.total }}, please check the analysis report and resolve the issues"
63
+ exit 1
64
+ fi
67
65
68
66
coverage :
69
67
runs-on : ubuntu-22.04
0 commit comments