forked from pointfreeco/swift-snapshot-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'pointfreeco:main' into main
- Loading branch information
Showing
86 changed files
with
7,738 additions
and
7,005 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
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,29 @@ | ||
name: Format | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: format-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
swift_format: | ||
name: swift-format | ||
runs-on: macos-13 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Xcode Select | ||
run: sudo xcode-select -s /Applications/Xcode_14.3.1.app | ||
- name: Install | ||
run: brew install swift-format | ||
- name: Format | ||
run: make format | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Run swift-format | ||
branch: 'main' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,83 @@ | ||
name: Release | ||
on: | ||
release: | ||
types: [published] | ||
workflow_dispatch: | ||
jobs: | ||
project-channel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dump Github context | ||
env: | ||
GITHUB_CONTEXT: ${{ toJSON(github) }} | ||
run: echo "$GITHUB_CONTEXT" | ||
- name: Slack Notification on SUCCESS | ||
if: success() | ||
uses: tokorom/action-slack-incoming-webhook@main | ||
env: | ||
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_PROJECT_CHANNEL_WEBHOOK_URL }} | ||
with: | ||
text: swift-snapshot-testing ${{ github.event.release.tag_name }} has been released. | ||
blocks: | | ||
[ | ||
{ | ||
"type": "header", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "swift-snapshot-testing ${{ github.event.release.tag_name}}" | ||
} | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": ${{ toJSON(github.event.release.body) }} | ||
} | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "${{ github.event.release.html_url }}" | ||
} | ||
} | ||
] | ||
releases-channel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dump Github context | ||
env: | ||
GITHUB_CONTEXT: ${{ toJSON(github) }} | ||
run: echo "$GITHUB_CONTEXT" | ||
- name: Slack Notification on SUCCESS | ||
if: success() | ||
uses: tokorom/action-slack-incoming-webhook@main | ||
env: | ||
INCOMING_WEBHOOK_URL: ${{ secrets.SLACK_RELEASES_WEBHOOK_URL }} | ||
with: | ||
text: swift-snapshot-testing ${{ github.event.release.tag_name }} has been released. | ||
blocks: | | ||
[ | ||
{ | ||
"type": "header", | ||
"text": { | ||
"type": "plain_text", | ||
"text": "swift-snapshot-testing ${{ github.event.release.tag_name}}" | ||
} | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": ${{ toJSON(github.event.release.body) }} | ||
} | ||
}, | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "${{ github.event.release.html_url }}" | ||
} | ||
} | ||
] |
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 |
---|---|---|
|
@@ -39,7 +39,6 @@ playground.xcworkspace | |
# Package.pins | ||
.build/ | ||
.swiftpm | ||
Package.resolved | ||
|
||
# CocoaPods | ||
# | ||
|
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,14 @@ | ||
# This is manifest file for the Swift Package Index for it to auto-generate and | ||
# host DocC documentation. | ||
# | ||
# For reference see https://swiftpackageindex.com/swiftpackageindex/spimanifest/documentation/spimanifest/commonusecases#Host-DocC-documentation-in-the-Swift-Package-Index | ||
|
||
version: 1 | ||
builder: | ||
configs: | ||
- documentation_targets: | ||
# First item in the list is the "landing" (default) target | ||
- SnapshotTesting | ||
- InlineSnapshotTesting | ||
- platform: watchos | ||
scheme: InlineSnapshotTesting |
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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
|
||
## Code of Conduct | ||
|
||
This project and everyone participating in it is governed by its [Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected]. | ||
This project and everyone participating in it is governed by its [Code of Conduct](.github/CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [email protected]. |
Oops, something went wrong.