Skip to content

Commit c2a49b6

Browse files
committed
Various other small workflow changes from rubocop
1 parent db2d8f8 commit c2a49b6

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/workflows/linting.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ on:
66
pull_request:
77
workflow_dispatch:
88

9-
permissions: # added using https://github.com/step-security/secure-workflows
10-
contents: read
11-
129
concurrency:
1310
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
1411
cancel-in-progress: true
@@ -35,7 +32,7 @@ jobs:
3532
steps:
3633
- uses: actions/checkout@v4
3734
- name: Yamllint
38-
uses: karancode/yamllint-github-action@master
35+
uses: karancode/yamllint-github-action@v3.0.0
3936
with:
4037
yamllint_strict: true
4138
yamllint_format: parsable

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ concurrency:
1616

1717
jobs:
1818
main:
19-
name: Ruby ${{ matrix.ruby }}
19+
name: Spec - ${{ matrix.ruby }}
2020
runs-on: ubuntu-latest
21-
env:
22-
# See https://github.com/tmm1/test-queue#environment-variables
23-
TEST_QUEUE_WORKERS: 2
2421
strategy:
2522
fail-fast: false
2623
matrix:
@@ -37,13 +34,13 @@ jobs:
3734
run: bundle exec rake spec
3835

3936
jruby:
40-
name: JRuby 9.4
37+
name: Spec - JRuby
4138
runs-on: ubuntu-latest
4239
steps:
4340
- uses: actions/checkout@v4
4441
- uses: ruby/setup-ruby@v1
4542
with:
46-
ruby-version: jruby-9.4
43+
ruby-version: jruby # Latest stable JRuby version
4744
bundler-cache: true
4845
- name: spec
4946
run: bundle exec rake spec
@@ -70,9 +67,9 @@ jobs:
7067
- uses: actions/checkout@v4
7168
- uses: ruby/setup-ruby@v1
7269
with:
73-
ruby-version: 3.2
70+
ruby-version: ruby # Latest stable CRuby version
7471
bundler-cache: true
75-
- name: test
72+
- name: Check documentation syntax
7673
run: bundle exec rake documentation_syntax_check
7774

7875
oldest_supported_rubocop:

0 commit comments

Comments
 (0)