-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
32 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 |
---|---|---|
@@ -1,31 +1,27 @@ | ||
# # 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 | ||
# 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 | ||
|
||
# name: Swift | ||
name: Swift | ||
|
||
# on: | ||
# push: | ||
# branches: [ "main" ] | ||
# pull_request: | ||
# branches: [ "main" ] | ||
|
||
|
||
# jobs: | ||
# build: | ||
# name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | ||
# strategy: | ||
# matrix: | ||
# os: [macos-latest] | ||
# swift: ["5.9.0"] | ||
# runs-on: ${{ matrix.os }} | ||
# steps: | ||
# - uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c | ||
# with: | ||
# swift-version: ${{ matrix.swift }} | ||
# - name: Get swift version | ||
# run: swift --version | ||
# - uses: actions/checkout@v4 | ||
# - name: Swift clean | ||
# run: swift package clean | ||
# - name: Run tests | ||
# run: swift test | ||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
jobs: | ||
build: | ||
name: Swift ${{ matrix.swift }} on ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest] | ||
swift: ["5.9"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: swift-actions/setup-swift@f51889efb55dccf13be0ee727e3d6c89a096fb4c | ||
with: | ||
swift-version: ${{ matrix.swift }} | ||
- name: Get swift version | ||
run: swift --version | ||
- uses: actions/checkout@v4 | ||
- name: Run tests | ||
run: swift test |
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
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