Add Github workflows CI

This commit is contained in:
Bartosz Polaczyk
2021-09-04 18:59:41 +02:00
parent 816cb7ceac
commit f04591ef8b
3 changed files with 29 additions and 18 deletions
+27
View File
@@ -0,0 +1,27 @@
name: CI
on: [pull_request]
jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: SwiftLint
uses: norio-nomura/action-swiftlint@3.1.0
with:
args: --strict
macOS:
runs-on: macOS-latest
env:
XCODE_VERSION: ${{ '12.4' }}
steps:
- name: Select Xcode
run: "sudo xcode-select -s /Applications/Xcode_$XCODE_VERSION.app"
- name: Checkout
uses: actions/checkout@v1
- name: Build and Run
run: rake build[release]
- name: Test
run: rake test