Skip to content

Run the Windows MSRV checks on Server 2022#1515

Merged
Byron merged 2 commits intoGitoxideLabs:mainfrom
EliahKagan:run-ci/msrv
Aug 12, 2024
Merged

Run the Windows MSRV checks on Server 2022#1515
Byron merged 2 commits intoGitoxideLabs:mainfrom
EliahKagan:run-ci/msrv

Conversation

@EliahKagan
Copy link
Member

@EliahKagan EliahKagan commented Aug 12, 2024

This changes the Windows runner from windows-2019 to windows-2022. Although windows-2022 is also what one currently gets for windows-latest, this uses the specific label for that. This is as discussed in, and for the reason noted in, #1514.

The first commit checks that Ubuntu 24.04 LTS will work when ubuntu-latest moves from ubuntu-22.04 to ubuntu-24.04. That worked fine, as I expected. As also noted in #1514, using the rolling Ubuntu runner OS version hasn't caused problems in the past, so this puts it back in the second commit, leaving only the bumping of the Windows runner version. That's what's going on with having two commits instead of one for a two-character change 😄.

As of this commit, `ubuntu-latest` is `ubuntu-22.04`, with the
`ubuntu-24.04` runner image having beta status (even though Ubuntu
24.04 LTS is released), and `windows-latest` is `windows-2022`.

So this is putting Ubuntu back to 22.04, but it will automatically
become 24.04 evenutally, which the previous commit checks is likely
to work (since it would work now).

As detailed in GitoxideLabs#1514, there have not been problems in the past with
new Ubuntu versions on GHA runners breaking this workflow. In
contrast, there have been such problems with the Windows runners,
so this keeps the pin adjusted to the newer version, but it does
not change it to rolling.
Copy link
Member

@Byron Byron left a comment

Choose a reason for hiding this comment

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

Thanks a lot for testing this out!

@Byron Byron merged commit 6efd1f2 into GitoxideLabs:main Aug 12, 2024
EliahKagan added a commit that referenced this pull request Jan 3, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in #1515. See #1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jan 3, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in GitoxideLabs#1515. See GitoxideLabs#1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit that referenced this pull request Jan 3, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in #1515. See #1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jan 4, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in GitoxideLabs#1515. See GitoxideLabs#1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jan 4, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in GitoxideLabs#1515. See GitoxideLabs#1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jan 4, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in GitoxideLabs#1515. See GitoxideLabs#1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit to EliahKagan/gitoxide that referenced this pull request Jan 4, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in GitoxideLabs#1515. See GitoxideLabs#1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
EliahKagan added a commit that referenced this pull request Jan 4, 2026
Having recently edited the MSRV workflow, this is as good a time as
any to make this change, which is arguably overdue since 2025 has
been `windows-latest` for months now:

- actions/runner-images#12677
- actions/runner-images#12925

We last updated this in #1515. See #1514 on why we're not using the
`windows-latest` label itself in the `msrv` job.
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.

2 participants