Merge pull request #5 from simple-login/feat/get-stats-endpoint #68
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: SimpleLogin Swift Package CI | |
on: | |
push: | |
jobs: | |
lint: | |
runs-on: self-hosted | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v3 | |
- name: Run SwiftLint | |
run: | | |
mkdir artifacts | |
swiftlint --strict --config .swiftlint.yml --reporter junit > artifacts/swiftlint_results.xml | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v1 | |
if: failure() | |
with: | |
name: artifacts | |
path: artifacts | |
unit-tests: | |
runs-on: self-hosted | |
needs: ['lint'] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
- name: Fastlane unit tests | |
run: fastlane unit_tests | |
- name: Fastlane clean up | |
run: fastlane clean_up |