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

CI: separate fastlane and build code...WIP #114

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

0xbrayo
Copy link
Member

@0xbrayo 0xbrayo commented Jul 18, 2024

🚀 This description was created by Ellipsis for commit d54aed0

Summary:

Separated Fastlane and build code in CI, updated image conversion command, and added shell syntax highlighting in documentation.

Key points:

  • Added .github/workflows/build-only.yml to separate Fastlane and build code in CI.
  • Updated Makefile to use magick instead of convert for image conversion.
  • Enabled ExternalStorageConfigurationManager in .idea/misc.xml.
  • Added sh syntax highlighting to code block in README.md.

Generated with ❤️ by ellipsis.dev

@0xbrayo 0xbrayo marked this pull request as ready for review July 18, 2024 16:37
Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to e0c5193 in 13 seconds

More details
  • Looked at 36 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. Makefile:213
  • Draft comment:
    Ensure that the system where this Makefile will be used has the newer version of ImageMagick installed that supports the magick command.
  • Reason this comment was not posted:
    Confidence changes required: 33%
    The change from convert to magick in the Makefile is likely an update to use ImageMagick's newer command syntax. This is generally a good practice as magick is the recommended way to invoke commands in newer versions of ImageMagick, providing better consistency and additional features. However, it's important to ensure that the system where this Makefile will be used has the newer version of ImageMagick installed that supports the magick command.

Workflow ID: wflow_RzFOkZ4lSgIM7rt8


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@0xbrayo
Copy link
Member Author

0xbrayo commented Jul 24, 2024

WIP. Separating the fastlane code from the build code

@0xbrayo 0xbrayo changed the title Misc: minor changes CI: separate fastlane and build code...WIP Jul 24, 2024
@0xbrayo 0xbrayo marked this pull request as draft July 24, 2024 15:53
@0xbrayo
Copy link
Member Author

0xbrayo commented Jul 24, 2024

@ellipsis-dev review

Copy link

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to d54aed0 in 1.0 minute and 23.142585999999994 seconds

More details
  • Looked at 267 lines of code in 3 files
  • Skipped 0 files when reviewing.
  • Skipped posting 5 drafted comments based on config settings.
1. .github/workflows/build-only.yml:20
  • Draft comment:
    Consider using the same Ubuntu version for all jobs within this workflow to ensure consistency. For example, you could update all jobs to use ubuntu-20.04:
    runs-on: ubuntu-20.04
  • Reason this comment was not posted:
    Confidence of 40% on close inspection, compared to threshold of 50%.
2. .github/workflows/build-only.yml:22
  • Draft comment:
    It's recommended to use the same version of actions/checkout across all steps. Consider updating all instances to use v3 for consistency and to benefit from the latest features and fixes:
    - uses: actions/checkout@v3
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.
3. .github/workflows/build-only.yml:152
  • Draft comment:
    The action actions/cache/restore@v3 does not exist. You should use actions/cache@v3 with the appropriate restore-keys for restoring cache. Here's the corrected usage:
    - uses: actions/cache@v3
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.
4. .github/workflows/build-only.yml:210
  • Draft comment:
    The action actions/download-artifact@v3 does not exist. You should use actions/download-artifact@v2 for downloading artifacts. Here's the corrected usage:
      - uses: actions/download-artifact@v2
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.
5. .github/workflows/build-only.yml:197
  • Draft comment:
    The action actions/upload-artifact@v3 does not exist. You should use actions/upload-artifact@v2 for uploading artifacts. Here's the corrected usage:
      - uses: actions/upload-artifact@v2
  • Reason this comment was not posted:
    Confidence of 50% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_PIM8TfWyRK0FoIzz


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

# Build in release mode if on a tag/release (longer build times)
echo "RELEASE=${{ startsWith(github.ref_name, 'v') }}" >> $GITHUB_ENV

- name: Set up JDK
Copy link

Choose a reason for hiding this comment

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

Consider upgrading to the latest version of actions/setup-java to benefit from new features and improvements:

Suggested change
- name: Set up JDK
uses: actions/setup-java@v3

@0xbrayo 0xbrayo force-pushed the master branch 3 times, most recently from 10fd8e7 to 854877e Compare September 5, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant