test: swift.yml 🛠#20
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
# Author by chanhihi | |
# Date 2023.08.09 | |
name: Swift Build and Test | |
on: | |
push: | |
branches: [ "feat/*", "fix/*", "refactor/*", "cluster_main", "main" ] | |
pull_request: | |
branches: [ "cluster_develop" ] | |
jobs: | |
build: | |
name: Swift 5.3 on macOS 10.15 | |
runs-on: macos-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: setup-swift | |
uses: swift-actions/setup-swift@v1 | |
with: | |
swift-version: 5.3 | |
- name: Build | |
run: | | |
mkdir Sources && | |
mv Box42 Sources/Box42 && | |
swift build | |
# This workflow will build a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift |