-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from XYOracleNetwork/feature/swift-tools-version
Feature/swift tools version
- Loading branch information
Showing
3 changed files
with
41 additions
and
23 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,26 @@ name: build-beta | |
|
||
on: | ||
push: | ||
branches: [ beta ] | ||
branches: | ||
- beta | ||
pull_request: | ||
branches: [ beta ] | ||
branches: | ||
- beta | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: swift build -v | ||
- name: Run tests | ||
run: swift test -v | ||
- 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 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,18 +2,26 @@ name: build-main | |
|
||
on: | ||
push: | ||
branches: [ main ] | ||
branches: | ||
- main | ||
pull_request: | ||
branches: [ main ] | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: macos-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: swift build -v | ||
- name: Run tests | ||
run: swift test -v | ||
- 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 |
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