Skip to content

Fix ruby version

Fix ruby version #119

Workflow file for this run

name: Testing
on: [push, pull_request]
jobs:
test:
name: Testing SketchKit
runs-on: macos-12
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: 14.2
- name: Set up Ruby 2.7.6
uses: ruby/[email protected]
with:
ruby-version: 2.7.6
bundler-cache: true
- name: Danger action
uses: MeilCli/[email protected]
if: github.event_name == 'pull_request'
with:
plugins_file: 'Gemfile'
install_path: 'vendor/bundle'
danger_file: 'Dangerfile'
danger_id: 'danger-pr'
env:
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Running SketchKit Unit Tests
run: exec ./.github/scripts/test_app.sh
shell: bash
- name: Upload coverage to Codecov
uses: codecov/[email protected]
with:
swift: true
swift_project: SketchKit
verbose: true