Skip to content

Commit 6cf80ee

Browse files
GitHub Actions: temporarily disable axel-op/dart-package-analyzer
See axel-op/dart-package-analyzer#27
1 parent 61dea7c commit 6cf80ee

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

.github/workflows/lint.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,28 @@ jobs:
4242
- name: Check formatting of all packages
4343
run: dart format --set-exit-if-changed --fix .
4444

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
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
6567

6668
coverage:
6769
runs-on: ubuntu-22.04

0 commit comments

Comments
 (0)