Merge pull request #63 from keisukeYamagishi/fix/remove-no-need-code #39
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: build | |
on: [push, pull_request] | |
jobs: | |
run-test: | |
runs-on: macOS-latest | |
strategy: | |
matrix: | |
destination: [ | |
'iOS Simulator,name=iPhone 8' | |
] | |
swift-version: [5.0, 4.2, 4.0] | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/cache@v1 | |
id: bundler-cache | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gems- | |
- name: Build configuration | |
run: make build_config | |
- name: Run tests | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
SWIFT_VERSION: ${{ matrix.swift-version }} | |
run: bundle exec fastlane test |