-
Notifications
You must be signed in to change notification settings - Fork 201
chore: update ci #890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update ci #890
Conversation
…in permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR restructures the CI workflow by separating the monolithic format/analyze/test job into individual jobs and updating GitHub Actions versions and configuration.
- Split the combined
dart-format-and-analyze-checkjob into separate format, import sorter, version consistency, analyze, and test jobs - Updated GitHub Actions from v2 to v4 and standardized naming conventions
- Added workflow permissions and improved step naming consistency
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
.github/workflows/build.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - name: Clone repository | ||
| uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v1 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actions/setup-java@v1 action is deprecated. Consider updating to actions/setup-java@v4 for better security and performance.
| - uses: actions/setup-java@v1 | |
| - uses: actions/setup-java@v4 |
.github/workflows/build.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - name: Clone repository | ||
| uses: actions/checkout@v4 | ||
| - uses: subosito/flutter-action@v1 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/build.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - name: Clone repository | ||
| uses: actions/checkout@v4 | ||
| - uses: subosito/flutter-action@v1 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.github/workflows/build.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - name: Clone repository | ||
| uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v1 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actions/setup-java@v1 action is deprecated in multiple jobs. Consider updating to actions/setup-java@v4 for better security and performance.
.github/workflows/build.yaml
Outdated
| - uses: actions/checkout@v2 | ||
| - name: Clone repository | ||
| uses: actions/checkout@v4 | ||
| - uses: actions/setup-java@v1 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The actions/setup-java@v1 action is deprecated in multiple jobs. Consider updating to actions/setup-java@v4 for better security and performance.
| - name: Clone repository | ||
| uses: actions/checkout@v4 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The repeated 'Clone repository' step pattern across multiple jobs creates maintenance overhead. Consider using a reusable workflow or job template to reduce duplication.
| - name: Clone repository | ||
| uses: actions/checkout@v4 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The repeated 'Clone repository' step pattern across multiple jobs creates maintenance overhead. Consider using a reusable workflow or job template to reduce duplication.
| - name: Clone repository | ||
| uses: actions/checkout@v4 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The repeated 'Clone repository' step pattern across multiple jobs creates maintenance overhead. Consider using a reusable workflow or job template to reduce duplication.
| - name: Clone repository | ||
| uses: actions/checkout@v4 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The repeated 'Clone repository' step pattern across multiple jobs creates maintenance overhead. Consider using a reusable workflow or job template to reduce duplication.
| - name: Clone repository | ||
| uses: actions/checkout@v4 |
Copilot
AI
Oct 14, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] The repeated 'Clone repository' step pattern across multiple jobs creates maintenance overhead. Consider using a reusable workflow or job template to reduce duplication.
Separate format / analyze / test jobs