-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: add rails 8 support * bundle install * Fix lint * Lint * gem description * Gemfile.lock * Reset lint.yml * Rubocop * Version * Dont use cache * add back cache? * Maybe * gemfile * Debug * debug * Maybe fix
- Loading branch information
1 parent
14b3317
commit 76c80c9
Showing
6 changed files
with
147 additions
and
116 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,21 @@ | ||
name: Lint | ||
on: [pull_request] | ||
on: | ||
pull_request: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
jobs: | ||
lint: | ||
name: Rubocop | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out code | ||
uses: actions/checkout@v4 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
bundler-cache: true | ||
- name: rubocop | ||
uses: reviewdog/action-rubocop@v2 | ||
with: | ||
rubocop_version: gemfile | ||
rubocop_extensions: rubocop-performance:gemfile rubocop-rails:gemfile rubocop-github:gemfile rubocop-rspec:gemfile | ||
# erb-lint has issues with Alpine (of which is used extensively throughout our products), follow the following issues before re-enabling: | ||
# https://github.com/Shopify/erb-lint/issues/221 | ||
# https://github.com/Shopify/better-html/issues/69 | ||
# - name: erb-lint | ||
# uses: ./.github/actions/erblint | ||
# with: | ||
# rubocop_extensions: rubocop-performance:gemfile rubocop-rails:gemfile rubocop-github:gemfile | ||
skip_install: true | ||
use_bundler: true |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.2 | ||
ruby 3.3.6 |
Oops, something went wrong.