DROP #14
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: Integrate | |
on: | |
issue_comment: | |
types: [ created ] | |
env: | |
PR_REF: ${{ format('refs/heads/{0}', github.event.pull_request.head.ref) }} | |
jobs: | |
integrate: | |
name: Integrate | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/integrate') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the latest code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: ${{env.PR_REF}} | |
repository: ${{github.event.issue.pull_request.head.repo.full_name}} | |
- uses: ruby/setup-ruby@master | |
- name: Install gems | |
run: bundle install | |
- name: Install dependencies | |
run: bundle exec appraisal install | |
- name: Run Rubocop | |
run: bundle exec appraisal rake rubocop | |
- name: Run Specs | |
run: bundle exec appraisal rake spec |