Change mapping 422 response status from "unprocessable_entity" to "un… #1
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: Rail Inspector | |
on: | |
pull_request: | |
paths: | |
- "tools/rail_inspector/**" | |
push: | |
paths: | |
- "tools/rail_inspector/**" | |
permissions: | |
contents: read | |
jobs: | |
rail_inspector: | |
name: rail_inspector tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Remove Gemfile.lock | |
run: rm -f Gemfile.lock | |
- name: Set up Ruby 3.3 | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: 3.3 | |
bundler-cache: true | |
- run: cd tools/rail_inspector && bundle exec rake |