Bump rack from 3.1.8 to 3.1.10 #162
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: Pronto | |
on: [pull_request] | |
jobs: | |
pronto: | |
runs-on: ubuntu-latest | |
env: | |
# Requires the relevant gems to have a separate group in `Gemfile` | |
# At the time of writing there is no way to only install gems in specific group(s) by specifying the group name(s) | |
BUNDLE_WITHOUT: "default development test" | |
# `MAKE="make --jobs $(nproc)"` is from | |
# https://build.betterup.com/one-weird-trick-that-will-speed-up-your-bundle-install/ | |
# Only works for MRI | |
# | |
# Using 4 since https://github.com/ruby/setup-ruby use 4 | |
MAKE: "make --jobs 4" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- run: | | |
git fetch --no-tags --prune --depth=10 origin +refs/heads/*:refs/remotes/origin/* | |
# If your project only specifies its Ruby version in its | |
# Gemfile, you'll need to specify a version for the | |
# action to use. See documentation for the | |
# ruby/setup-ruby action for details. | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run Pronto | |
run: bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }} | |
env: | |
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }} | |
PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}" | |
BUNDLE_PATH: "vendor/bundle" |