{"id":13554892,"url":"https://github.com/invertase/github-action-dart-analyzer","last_synced_at":"2025-04-06T20:10:47.156Z","repository":{"id":37795605,"uuid":"446964905","full_name":"invertase/github-action-dart-analyzer","owner":"invertase","description":"A GitHub action to run Dart analyzer with annotation support.","archived":false,"fork":false,"pushed_at":"2024-05-28T17:13:21.000Z","size":463,"stargazers_count":168,"open_issues_count":11,"forks_count":10,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-30T17:11:32.196Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/invertase.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-11T20:05:04.000Z","updated_at":"2024-08-18T04:31:25.000Z","dependencies_parsed_at":"2024-06-18T14:05:02.407Z","dependency_job_id":"d93ef8e2-ce79-460d-bc34-743f1b992fe8","html_url":"https://github.com/invertase/github-action-dart-analyzer","commit_stats":{"total_commits":10,"total_committers":4,"mean_commits":2.5,"dds":0.5,"last_synced_commit":"1cda5922c6369263b1c7e2fbe281f69704f4d63e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":"actions/typescript-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invertase%2Fgithub-action-dart-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invertase%2Fgithub-action-dart-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invertase%2Fgithub-action-dart-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/invertase%2Fgithub-action-dart-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/invertase","download_url":"https://codeload.github.com/invertase/github-action-dart-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543591,"owners_count":20955865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-08-01T12:02:57.137Z","updated_at":"2025-04-06T20:10:47.133Z","avatar_url":"https://github.com/invertase.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1\u003e⚒️ GitHub Action for Dart Analyzer\u003c/h1\u003e\n  \u003cspan\u003eA GitHub action to run Dart analyzer with annotation support.\u003c/span\u003e\n\u003c/p\u003e\n \u003ca href=\"https://invertase.link/discord\"\u003e\n   \u003cimg src=\"https://img.shields.io/discord/295953187817521152.svg?style=flat-square\u0026colorA=7289da\u0026label=Chat%20on%20Discord\" alt=\"Chat on Discord\"\u003e\n \u003c/a\u003e\n\n\u003ca href=\"https://github.com/invertase/github-action-dart-analyzer/blob/main/LICENSE\"\u003eLicense\u003c/a\u003e\n\n---\n\n## Usage\n\n```yaml\nname: \"analyze\"\non: # rebuild any PRs and main branch changes\n  pull_request:\n  push:\n    branches:\n      - main\n\njobs:\n  dart: # make sure the action works on a clean machine without building\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: dart-lang/setup-dart@v1\n      - uses: invertase/github-action-dart-analyzer@v1\n        with:\n          # (Optional) Treat info level issues as fatal.\n          fatal-infos: false\n\n          # (Optional) Treat warning level issues as fatal\n          # (defaults to true).\n          fatal-warnings: false\n\n          # (Optional) Whether to add annotations to GitHub actions summary / PR\n          # review files.\n          # (defaults to true).\n          annotate: true\n\n          # (Optional) If set to true only annotations will be created and the\n          # GitHub action itself will not fail on Dart analyzer problems. \n          # (defaults to false).\n          annotate-only: false\n\n          # (Optional) If set to true the GitHub action will run custom_lint\n          # if it is found as dependency in the pubspec.yaml\n          # (defaults to false).\n          custom-lint: false\n\n          # (Optional) The working directory to run the Dart analyzer in \n          # (defaults to `./`).\n          working-directory: ./\n```\n\n\n## Screenshots\n\n**Example annotation output in PR changes review**:\n\n1) ![image](https://user-images.githubusercontent.com/5347038/149161220-dbd92743-2cdc-4083-b7f2-31ed9ca7f855.png)\n2) ![image](https://user-images.githubusercontent.com/5347038/149161397-d6a72437-a15f-4dbb-a6b5-227bd11da210.png)\n3) ![image](https://user-images.githubusercontent.com/5347038/149161493-66e2b7f6-177a-4daa-bb66-9d0a26ba391d.png)\n\n**Example annotation output in check summary**:\n\n![image](https://user-images.githubusercontent.com/5347038/149163192-e7f97894-cd1c-4892-92be-580f121a9aef.png)\n\n\n**Example workflow logs output**:\n\n![image](https://user-images.githubusercontent.com/5347038/149162346-573bf836-489f-458f-8501-60148d2104cd.png)\n\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://invertase.io/?utm_source=readme\u0026utm_medium=footer\u0026utm_campaign=github-action-dart-analyzer\"\u003e\n    \u003cimg width=\"75px\" src=\"https://static.invertase.io/assets/invertase/invertase-rounded-avatar.png\"\u003e\n  \u003c/a\u003e\n  \u003cp align=\"center\"\u003e\n    Built and maintained by \u003ca href=\"https://invertase.io/?utm_source=readme\u0026utm_medium=footer\u0026utm_campaign=github-action-dart-analyzer\"\u003eInvertase\u003c/a\u003e.\n  \u003c/p\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvertase%2Fgithub-action-dart-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finvertase%2Fgithub-action-dart-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finvertase%2Fgithub-action-dart-analyzer/lists"}