From b69ad48d4df89c9be7548bf156fe9f458dad8b28 Mon Sep 17 00:00:00 2001 From: Daniel Silva Date: Wed, 6 Dec 2023 16:22:29 -0500 Subject: [PATCH] Update integrate.yml Improve readability --- .github/workflows/integrate.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/integrate.yml b/.github/workflows/integrate.yml index 0e47c29..bb491f7 100644 --- a/.github/workflows/integrate.yml +++ b/.github/workflows/integrate.yml @@ -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: