Remove Gemfile.lock from gitignore #120
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: 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/setup-xcode@v1.6.0 | |
with: | |
xcode-version: 14.2 | |
- name: Set up Ruby 2.7.6 | |
uses: ruby/setup-ruby@v1.120.0 | |
with: | |
ruby-version: 2.7.6 | |
bundler-cache: true | |
- name: Danger action | |
uses: MeilCli/danger-action@v5.6.28 | |
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/codecov-action@v3.1.4 | |
with: | |
swift: true | |
swift_project: SketchKit | |
verbose: true |