-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: Add flutter repos for testing good and bad state chore: Tidy directory structure docs: Add more information to readme test: Initialize Jest test: Add tests for analyze, coverage and test ci(automated commit): lint format and import sort Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
4c2274e
commit a4840b1
Showing
64 changed files
with
5,582 additions
and
409 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,34 @@ | ||
# flutter-code-quality | ||
|
||
An action that runs on PRs to format and test Flutter repos. | ||
This action is designed to format and test Flutter repositories on pull requests. It helps ensure that your code meets the required quality standards. | ||
|
||
### Usage | ||
|
||
Follow the instructions below to integrate this action into your workflow. | ||
|
||
```yml | ||
name: Pull Request | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
code-quality: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout branch | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: ${{github.event.pull_request.head.repo.full_name}} | ||
ref: ${{ github.head_ref }} | ||
# Set up Flutter within the action | ||
- uses: subosito/flutter-action@v2 | ||
with: | ||
cache: true | ||
- uses: ZebraDevs/flutter-code-quality@main | ||
with: | ||
# Token used for authentication. | ||
token: ${{secrets.GITHUB_TOKEN}} | ||
``` | ||
## Contributing | ||
This project welcomes contributions. Pleae check out our [Contributing guide](CONTRIBUTING.md) to learn more on how to get started. | ||
### License | ||
This project is released under the [MIT License](./LICENSE). |
Oops, something went wrong.