performance: convert codables to directory under a separate thread (#77) #119
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: Pull request builder | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: swift-actions/setup-swift@v2 | |
with: | |
swift-version: "5.9.2" | |
- name: Install swift-format tool | |
run: brew install swift-format | |
- name: Swift-format linting Sources directory | |
run: swift-format lint -s -r ./Sources | |
- name: Swift-format linting Tests directory | |
run: swift-format lint -s -r ./Tests | |
- name: Build | |
run: swift build -v | |
- name: Run unit tests | |
run: swift test -v |