Skip to content

Commit

Permalink
Update to the latest macOS and the latest macOS (12) currently for th…
Browse files Browse the repository at this point in the history
…e runners to check everything is fine
  • Loading branch information
gazreese committed Apr 23, 2024
1 parent 51be65a commit 55b2209
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ on:

jobs:
macos-build:
runs-on: macOS-13
# macOS-latest images are not the most recent
# The macos-latest workflow label currently uses the macOS 12 runner image
# The vast majority of macOS developers would be using the latest version of macOS
# Current list here: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
runs-on: macOS-14

steps:
- uses: actions/checkout@v4
Expand All @@ -17,8 +21,19 @@ jobs:
- name: Run tests
run: swift test -v

ubuntu-build:
macos-build-latest:
# Let's also check that the code builds on the 'latest' macOS version according to Microsoft
# At 23rd April 2023 the latest macOS version is macOS 12
runs-on: macOS-latest

steps:
- uses: actions/checkout@v4
- name: Build (macOS)
run: swift build -v
- name: Run tests
run: swift test -v

ubuntu-build:
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 55b2209

Please sign in to comment.