Introducing Quest #79
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: Format | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
env: | |
GIT_COMMITTER_NAME: GitHub Actions | |
GIT_COMMITTER_EMAIL: [email protected] | |
RAILS_ENV: test | |
jobs: | |
standard_ruby: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
ruby-version: "3.1.2" | |
- run: bin/rake standard:fix && git diff --quiet | |
- if: failure() | |
run: git commit -a --fixup=HEAD --author=. && git push |