Merge pull request #44 from XYOracleNetwork/feature/naming-standardiz… #38
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-main | |
on: | |
push: | |
branches: | |
- main | |
# pull_request: | |
# branches: | |
# - main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Use until swift 6 support is added to the default setup-swift action | |
# https://github.com/swift-actions/setup-swift | |
# https://github.com/swift-actions/setup-swift/pull/684 | |
# - uses: swift-actions/[email protected] | |
- uses: JoelBCarter/setup-swift@feat/swift-6 | |
with: | |
swift-version: "6.0" | |
- name: Build | |
run: swift build -v | |
- name: Run tests | |
run: swift test -v |