Skip to content

Commit 983d358

Browse files
committed
better gems
1 parent 7e38047 commit 983d358

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/scripts-lint.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,7 @@ jobs:
2828
steps:
2929
- uses: actions/checkout@v6
3030
- uses: jdx/mise-action@v3
31-
- name: Run rubocop
32-
run: |
33-
gem install rubocop -v 1.58 --no-document
34-
rubocop scripts/
31+
- run: mise lint:ruby
3532
python-lint:
3633
if: ${{ !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') }}
3734
runs-on: ubuntu-24.04-arm

mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ DOCS_RS=1 cargo clippy --all-targets --quiet --no-deps -- --deny=warnings
6161
[tasks."lint:unused-deps"]
6262
description = "Check for unused dependencies in Rust code."
6363
tools.ruby = "latest"
64+
tools."gem:toml-rb" = "4.1"
6465
run = '''
65-
gem install toml-rb --no-document
6666
ruby scripts/linters/find_unused_deps.rb
6767
'''
6868

@@ -90,8 +90,8 @@ golangci-lint run ./f3-sidecar ./interop-tests/src/tests/go_app
9090
[tasks."lint:ruby"]
9191
description = "Lint Ruby code using rubocop."
9292
tools.ruby = "latest"
93+
tools."gem:rubocop" = "1.58"
9394
run = '''
94-
gem install rubocop -v 1.58 --no-document
9595
rubocop scripts/
9696
'''
9797

0 commit comments

Comments
 (0)