Revert "Use request.fullpath for toggle back_url to preserve current … #93
This file contains hidden or 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: Run Linters | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: 3.3 | |
| bundler-cache: true | |
| - name: Setup gems | |
| run: | | |
| cp test/support/gemfile.rb Gemfile | |
| bundle install --jobs 4 --retry 3 | |
| - name: Run RuboCop | |
| run: | | |
| bundle exec rubocop -S | |
| - name: Run Slim-Lint | |
| run: | | |
| bundle exec slim-lint app/views | |
| if: always() |