Skip to content

Conversation

@valeriyvan
Copy link
Contributor

Addresses #153

@valeriyvan valeriyvan force-pushed the ubuntu-version branch 2 times, most recently from ea3b385 to 58032d8 Compare May 14, 2025 16:51
@valeriyvan valeriyvan changed the title Add wokrflow to test on ubuntu-22.04, rename swift-linux.yml -> ubuntu-latest Add wokrflow to test on ubuntu-22.04, rename swift-linux.yml -> ubuntu-24.04 May 14, 2025
@stackotter
Copy link
Owner

stackotter commented May 15, 2025

Given that both workflows are essentially identical, I think it'd be beneficial to instead just parameterise the original workflow using a matrix. Something like so should work:

jobs:
  build-linux:
    strategy:
      matrix:
        os: [ubuntu-22.04, ubuntu-24.04]
    runs-on: ${{ matrix.os }}
    steps:
      ...

Copy link
Owner

@stackotter stackotter left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

@stackotter stackotter merged commit 6f369a0 into stackotter:main May 15, 2025
8 checks passed
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