Use UIGraphicsImageRenderer instead of UIGraphicsBeginImageContextWit… #48
Workflow file for this run
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] | |
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: Bundle setup | |
run: bundle config path vendor/bundle | |
- name: Bundle install | |
if: steps.bundler-cache.outputs.cache-hit != 'true' | |
run: bundle install --jobs 4 --retry 3 | |
- name: Run tests | |
env: | |
DESTINATION: platform=${{ matrix.destination }} | |
SWIFT_VERSION: ${{ matrix.swift-version }} | |
run: bundle exec fastlane test_ci |