-
Notifications
You must be signed in to change notification settings - Fork 3
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
10 changed files
with
70 additions
and
39 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
reviewers: | ||
- "slashmo" |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
jobs: | ||
soundness: | ||
name: Soundness Check | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Bootstrap Mint | ||
uses: irgaly/setup-mint@v1 | ||
|
||
- name: Run soundness | ||
run: | | ||
scripts/soundness.sh | ||
exit $(git status --porcelain | wc -l) | ||
unit-test: | ||
name: Unit Test | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
swift: [5.9, latest] | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4.1.0 | ||
|
||
- name: Cache Swift PM | ||
uses: actions/cache@v3.3.2 | ||
with: | ||
path: .build | ||
key: ${{ runner.os }}-${{ matrix.swift }}-spm-${{ hashFiles('Package.swift') }} | ||
restore-keys: ${{ runner.os }}-${{ matrix.swift }}-spm- | ||
|
||
- name: Resolve Swift dependencies | ||
run: swift package resolve | ||
|
||
- name: Run Unit Tests | ||
run: swift test --parallel |
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,13 +1,14 @@ | ||
# file options | ||
|
||
--swiftversion 5.3 | ||
--exclude **/.build | ||
--swiftversion 5.9 | ||
--exclude .build | ||
--exclude **/*.pb.swift | ||
--exclude **/*.grpc.swift | ||
|
||
# format options | ||
|
||
--ifdef no-indent | ||
--extensionacl on-declarations | ||
--indent 4 | ||
--patternlet inline | ||
--self remove | ||
--stripunusedargs closure-only | ||
--wraparguments before-first | ||
--extensionacl on-declarations |
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 +1 @@ | ||
nicklockwood/SwiftFormat@0.47.13 | ||
nicklockwood/SwiftFormat@0.51.12 |
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
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
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