Skip to content

handle library_private_types_in_public_api false positives for modi… #3507

handle library_private_types_in_public_api false positives for modi…

handle library_private_types_in_public_api false positives for modi… #3507

Workflow file for this run

name: linter
on:
schedule:
# “At 00:00 (UTC) on Sunday.”
- cron: '0 0 * * 0'
pull_request:
push:
branches:
- main
env:
PUB_ENVIRONMENT: bot.github
permissions: read-all
jobs:
build:
permissions:
checks: write # for coverallsapp/github-action to create new checks
name: ${{ matrix.linter-bot }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
linter-bot:
- main
- coverage
- benchmark
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: dart-lang/setup-dart@d6a63dab3335f427404425de0fbfed4686d93c4f
with:
sdk: dev
- run: dart pub get
- name: tool/bot.sh
env:
LINTER_BOT: ${{ matrix.linter-bot }}
run: ./tool/bot.sh
- name: upload coverage
if: matrix.linter-bot == 'coverage'
uses: coverallsapp/github-action@c7885c00cb7ec0b8f9f5ff3f53cddb980f7a4412
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: var/lcov.info