-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop running CI against JRuby and some CI config cleanup (#1228)
* Stop testing against JRuby * Remove unneeded step * Extract linting CI config to another file * Remove previous jar-dependencies hack
- Loading branch information
Showing
3 changed files
with
28 additions
and
24 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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Lint | ||
|
||
on: [push, pull_request] | ||
|
||
permissions: # added using https://github.com/step-security/secure-workflows | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
strategy: | ||
fail-fast: false | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 # v3.3.0 | ||
# libyaml-dev is needed for psych, see https://github.com/ruby/setup-ruby/issues/409 | ||
- if: ${{ matrix.os == 'ubuntu-latest' }} | ||
run: sudo apt install libyaml-dev | ||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@master | ||
with: | ||
ruby-version: 3.3 | ||
bundler-cache: true | ||
- name: Run rubocop | ||
run: bundle exec rubocop | ||
- name: Sanity check for the format_generated_files task | ||
run: bundle exec rake generate format_generated_files | ||
|
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