diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index c09602ff76..0bbb6841d3 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -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 @@ -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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8fcfe1285..79c174bbc7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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: @@ -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 @@ -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: