Skip to content
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

Feat: Implemented Flutter CI #74

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Conversation

Abhi-0987
Copy link
Contributor

issue: #57

Implemented the CI Pipeline for the repository, and updated the Kotlin and android tools version.

From now on every PR issue and Merging, the CI will perform certain checks and the branch will be able to get merged only after the CI checks are all passed.

Make sure that you have the latest version of flutter installed before working on the project.
It can be done using flutter upgrade.

Before issuing a PR, make sure that you have performed the following commands, and all the commands are executed without any issues. If any issues are found, clear them before pushing the code.

  1. Get flutter dependencies.
    flutter pub get
  2. Check for any formatting issues in the code.
    dart run dart_style:format --dry-run --set-exit-if-changed .
  3. Statically analyze the Dart code for any errors.
    flutter analyze .
  4. Build apk.
    flutter build apk

@yagnik2411
Copy link
Owner

Current runner version: '2.320.0'
Operating System
Runner Image
Runner Image Provisioner
GITHUB_TOKEN Permissions
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: Unable to resolve action actions-ecosystem/action-assign, repository not found
this error occure

@Abhi-0987
Copy link
Contributor Author

I only implemented CI flow.

That is the error due to the merge of the #55

The script is not correct in the code of that issue, due to which the error is popping. My script code is working properly. All the PR's that are being issued after merging of #55 are facing this issue.

Please ask @KiranBaliga to look into this issue.

@KiranBaliga
Copy link
Contributor

@Abhi-0987 @yagnik2411 I see that greetings.yml is running successfully and looks like there might be an issue with auto-label.yml (I am not sure of it), if you are able to relate to it and if it is the cause, I sincerely apologize for the same. Please remove the file from the repo to evade further errors. I have to attend a medical situation, I regret causing further errorneous contributions. Thank you for your kind understanding!

@yagnik2411
Copy link
Owner

pubspec .lock has confilcts

@yagnik2411
Copy link
Owner

Current runner version: '2.320.0'
Operating System
Runner Image
Runner Image Provisioner
GITHUB_TOKEN Permissions
Secret source: None
Prepare workflow directory
Prepare all required actions
Getting action download info
Error: This request has been automatically failed because it uses a deprecated version of actions/upload-artifact: v1. Learn more: https://github.blog/changelog/[2](https://github.com/yagnik2411/Quiz-Genius/actions/runs/11252505660/job/31308769963?pr=74#step:1:2)024-02-13-deprecation-notice-v1-and-v2-of-the-artifact-actions/

this is coming from your file

Copy link
Owner

@yagnik2411 yagnik2411 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

slove confilcts

@yagnik2411 yagnik2411 merged commit 0c48fd6 into yagnik2411:master Oct 11, 2024
1 check passed
@yagnik2411 yagnik2411 added gssoc-ext GSSOC contribution level3 GSSOC contribution level hacktoberfest hacktoberfest contribution labels Oct 12, 2024
@KirolosMFahem KirolosMFahem linked an issue Oct 25, 2024 that may be closed by this pull request
@KirolosMFahem KirolosMFahem added the hacktoberfest-accepted hacktoberfest contribution PR label Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext GSSOC contribution hacktoberfest hacktoberfest contribution hacktoberfest-accepted hacktoberfest contribution PR level3 GSSOC contribution level
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement CI Pipeline for Automated Builds and Formatting Checks
4 participants