Skip to content

Conversation

@ViktorSvertoka
Copy link
Contributor

@ViktorSvertoka ViktorSvertoka commented Feb 13, 2025

  1. Updated GitHub Actions versions:

actions/checkout@v2 → actions/checkout@v4

actions/upload-artifact@v2 → actions/upload-artifact@v4

Updated Ruby version from 2.6 to 3.2 (since 2.6 is no longer supported).

  1. Optimized workflow steps:

Moved setup-ruby after checkout for better execution order.

Added bundler-cache: true to setup-ruby to prevent redundant gem installations.

  1. Improved awesome_bot installation:

Added --no-document flag to speed up installation.

  1. Made validation step more resilient:

Added continue-on-error: true to validate to prevent workflow failure on link errors.

  1. Adjusted artifact handling: Used if: ${{ failure() }} to ensure artifacts are uploaded only if the validation fails.

Checklist:

  • I've read and understood Contributing Guidelines.
  • I've added the new resource at the end of its section.
  • This resource is out there for a while, and actively maintained.
  • This resource is popular enough and has at least a few hundred stars on GitHub.

...

1. Updated GitHub Actions versions:

actions/checkout@v2 → actions/checkout@v4

actions/upload-artifact@v2 → actions/upload-artifact@v4

Updated Ruby version from 2.6 to 3.2 (since 2.6 is no longer supported).

2. Optimized workflow steps:

Moved setup-ruby after checkout for better execution order.

Added bundler-cache: true to setup-ruby to prevent redundant gem installations.

3. Improved awesome_bot installation:

Added --no-document flag to speed up installation.

4. Made validation step more resilient:

Added continue-on-error: true to validate to prevent workflow failure on link errors.

5. Adjusted artifact handling:
Used if: ${{ failure() }} to ensure artifacts are uploaded only if the validation fails.
@ViktorSvertoka
Copy link
Contributor Author

I’ve updated the workflow according to the @actions/upload-artifact documentation, which can be found here.

@gokaygurcan gokaygurcan merged commit ff4dac0 into sorrycc:master Feb 13, 2025
1 check passed
@gokaygurcan
Copy link
Collaborator

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants