-
-
Notifications
You must be signed in to change notification settings - Fork 242
Bump GHA Ubuntu workflow runners to Ubuntu 26.04 #1026
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,7 +11,7 @@ on: | |
| jobs: | ||
| pre-commit: | ||
| name: Pre-commit checks | ||
| runs-on: ubuntu-22.04 | ||
| runs-on: ubuntu-26.04 | ||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | ||
|
|
@@ -21,6 +21,6 @@ jobs: | |
| - name: Set up Python | ||
| uses: actions/setup-python@v6 | ||
| with: | ||
| python-version: "3.10" | ||
| python-version: "3.14" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It should actually be save to throw that out and just use the default.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropped |
||
| - name: Run pre-commit checks on PR | ||
| uses: pre-commit/action@v3.0.1 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -468,10 +468,10 @@ namespace Catch { | |
| } | ||
|
|
||
| namespace literals { | ||
| Approx operator "" _a(long double val) { | ||
| Approx operator ""_a(long double val) { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe we have this exact same file copied to each exercise. I'm not sure if changing only one is a good idea. If this fails on a newer compiler, we should probably upgrade Catch2 altogether (I feel we've discussed this and there was some reason not to upgrade, but I can't quite remember ...).
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Happy to mass-apply this change across the repo.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Still puzzled why it shows only in the complex-numbers test ...
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hrm. That is odd. After #1027 is applied, it should no longer be there.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All good, both are merged now and tests still pass. I was just wondering why you needed only the fix for complex-numbers. But TBH I didn't do much digging to find out. It's definitely good to fix it for all exercises, since that also affected students on newer compilers working locally. It already showed in CI for the macos test, where we have |
||
| return Approx(val); | ||
| } | ||
| Approx operator "" _a(unsigned long long val) { | ||
| Approx operator ""_a(unsigned long long val) { | ||
| return Approx(val); | ||
| } | ||
| } // end namespace literals | ||
|
|
||
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 idea here is to keep this at the latest version we officially support. Typically we increase that once official support ends. So
ubuntu-22.04here should stay until ~April 2027.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.
Reverted