Updated strict concurrency and Privacy Manifests #62
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Request Build and Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
macos-build: | |
# 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 | |
- name: Build (macOS) | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v | |
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: | |
- uses: actions/checkout@v4 | |
- name: Build (Ubuntu) | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v |