This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
Merge remote-tracking branch 'refs/remotes/origin/main' #21
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: Build & Test | |
concurrency: | |
group: "quality" | |
cancel-in-progress: true | |
on: | |
push: | |
branches: | |
- main | |
- release | |
pull_request: | |
types: [opened, synchronize, reopened] | |
branches: | |
- main | |
- release | |
jobs: | |
build: | |
name: Build & Test | |
runs-on: macos-latest | |
steps: | |
- name: Install Swift | |
uses: swift-actions/[email protected] | |
with: | |
swift-version: 5.9 | |
- name: Get swift version | |
run: swift --version | |
- uses: actions/checkout@v4 | |
- name: Build | |
run: swift build | |
- name: Run tests | |
run: swift test |