forked from iOSLabUNAM/secretly
-
Notifications
You must be signed in to change notification settings - Fork 0
28 lines (26 loc) · 781 Bytes
/
Copy pathswift.yml
File metadata and controls
28 lines (26 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Swift CI
on: pull_request
jobs:
build:
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Cache RubyGems
uses: actions/cache@v1
with:
path: vendor/bundle
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: ${{ runner.os }}-gem-
- name: Cache Mint packages
uses: actions/cache@v1
with:
path: ${{ env.MINT_PATH }}
key: ${{ runner.os }}-mint-${{ hashFiles('**/Mintfile') }}
restore-keys: ${{ runner.os }}-mint-
- name: Install dependencies
run: sh ./bootstrap.sh
- name: Run tests
run: bundle exec fastlane test
env:
MINT_PATH: ${{ github.workspace }}/mint