Skip to content

Commit

Permalink
Update integrate.yml
Browse files Browse the repository at this point in the history
Improve readability
  • Loading branch information
danielsilva authored Dec 6, 2023
1 parent 70798c4 commit b69ad48
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,31 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Checkout Pull Request
run: |
PR_NUM=${PR_URL##*/}
gh pr checkout $PR_NUM
- 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

- name: Merge PR
run: |
PR_NUM=${PR_URL##*/}
gh pr merge $PR_NUM --merge --delete-branch
- name: Add reaction to PR comment
if: always()
env:
Expand Down

0 comments on commit b69ad48

Please sign in to comment.