Clean up namespace and data source code a bit #188
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: Run Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
test: | |
runs-on: macos-latest | |
name: Build and run tests | |
steps: | |
- name: Check out Source | |
uses: actions/checkout@v2 | |
with: | |
submodules: "true" | |
- name: test | |
working-directory: . | |
run: swift test | |
lint: | |
runs-on: self-hosted | |
name: Run Swiftlint | |
needs: test | |
steps: | |
- name: Check out Source | |
uses: actions/checkout@v2 | |
with: | |
submodules: "true" | |
- name: Swiftlint | |
run: /opt/homebrew/bin/swiftlint |