-
Notifications
You must be signed in to change notification settings - Fork 31
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
Upgrade GitHub actions to current supported versions #705
Upgrade GitHub actions to current supported versions #705
Conversation
Fixes build slowness (AllYarnsAreBeautiful#702). Also fixes fail-on-cache-miss having no effect, see actions/cache#1327
WalkthroughThe pull request involves updates to GitHub Actions workflow configurations by upgrading various action versions. Notably, the Changes
Sequence Diagram(s)sequenceDiagram
participant A as User
participant B as GitHub Actions
participant C as Python Environment
participant D as Build Process
A->>B: Trigger Workflow
B->>C: Setup Python Environment (v5)
B->>D: Start Build Process
D-->>B: Build Completed
B-->>A: Workflow Result
Assessment against linked issues
Possibly related PRs
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Quality Gate passedIssues Measures |
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.
Actionable comments posted: 0
Fixes #702 by upgrading
actions/cache
from v3 to v4. In extreme cases like https://github.com/AllYarnsAreBeautiful/ayab-desktop/actions/runs/10762969747/attempts/1 this should cut build time from 30 minutes down to less than 10.This PR also upgrades
actions/checkout
from v3 to v4,actions/setup-python
from v4 to v5,actions/upload-artifact
from v3 to v4, andDenverCoder1/doxygen-github-pages-action
from v1.3.0 to v1.3.1, which gets rid of warnings that we use old actions requiring Node 16.There should be no changes in behavior — if something is broken by these upgrades it should show up pretty quickly when doing a build. Here is a full build I made from this branch — the macOS failure is not new and is being investigated separately (and merging this PR will make it faster to investigate).