adopt reusable workflows #6
Workflow file for this run
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: tests | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
linux: | |
runs-on: ubuntu-24.04 | |
name: Ubuntu 24.04 | |
steps: | |
- name: Install Swift | |
uses: tayloraswift/swift-install-action@master | |
with: | |
swift-prefix: "swift-6.0.2-release/ubuntu2404/swift-6.0.2-RELEASE" | |
swift-id: "swift-6.0.2-RELEASE-ubuntu24.04" | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: Scripts/TestAll | |
macos: | |
runs-on: macos-15 | |
name: macOS | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Run tests | |
run: Scripts/TestAll |