Skip to content

Merge pull request #4 from simple-login/feat/add-perks #66

Merge pull request #4 from simple-login/feat/add-perks

Merge pull request #4 from simple-login/feat/add-perks #66

Workflow file for this run

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