Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A GitHub action to run Dart analyzer with annotation support.

NotificationsYou must be signed in to change notification settings

invertase/github-action-dart-analyzer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

A GitHub action to run Dart analyzer with annotation support.

Chat on Discord

License


Usage

name:"analyze"on:# rebuild any PRs and main branch changespull_request:push:branches:      -mainjobs:dart:# make sure the action works on a clean machine without buildingruns-on:ubuntu-lateststeps:      -uses:actions/checkout@v2      -uses:dart-lang/setup-dart@v1      -uses:invertase/github-action-dart-analyzer@v1with:# (Optional) Treat info level issues as fatal.fatal-infos:false# (Optional) Treat warning level issues as fatal# (defaults to true).fatal-warnings:false# (Optional) Whether to add annotations to GitHub actions summary / PR# review files.# (defaults to true).annotate:true# (Optional) If set to true only annotations will be created and the# GitHub action itself will not fail on Dart analyzer problems.# (defaults to false).annotate-only:false# (Optional) If set to true the GitHub action will run custom_lint# if it is found as dependency in the pubspec.yaml# (defaults to false).custom-lint:false# (Optional) The working directory to run the Dart analyzer in# (defaults to `./`).working-directory:./

Screenshots

Example annotation output in PR changes review:

  1. image
  2. image
  3. image

Example annotation output in check summary:

image

Example workflow logs output:

image


Built and maintained byInvertase.

About

A GitHub action to run Dart analyzer with annotation support.

Topics

Resources

Stars

Watchers

Forks

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp