Skip to content

Commit

Permalink
Various other small workflow changes from rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Dec 27, 2024
1 parent db2d8f8 commit c2a49b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 12 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
pull_request:
workflow_dispatch:

permissions: # added using https://github.com/step-security/secure-workflows
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand All @@ -35,7 +32,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Yamllint
uses: karancode/yamllint-github-action@master
uses: karancode/yamllint-github-action@v3.0.0
with:
yamllint_strict: true
yamllint_format: parsable
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ concurrency:

jobs:
main:
name: Ruby ${{ matrix.ruby }}
name: Spec - ${{ matrix.ruby }}
runs-on: ubuntu-latest
env:
# See https://github.com/tmm1/test-queue#environment-variables
TEST_QUEUE_WORKERS: 2
strategy:
fail-fast: false
matrix:
Expand All @@ -37,13 +34,13 @@ jobs:
run: bundle exec rake spec

jruby:
name: JRuby 9.4
name: Spec - JRuby
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: jruby-9.4
ruby-version: jruby # Latest stable JRuby version
bundler-cache: true
- name: spec
run: bundle exec rake spec
Expand All @@ -70,9 +67,9 @@ jobs:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
ruby-version: ruby # Latest stable CRuby version
bundler-cache: true
- name: test
- name: Check documentation syntax
run: bundle exec rake documentation_syntax_check

oldest_supported_rubocop:
Expand Down

0 comments on commit c2a49b6

Please sign in to comment.