Skip to content

Commit 8f17849

Browse files
committed
Run internal investigation once
Makes it so that the main matrix only runs a single task
1 parent 170cc32 commit 8f17849

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.github/workflows/linting.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ concurrency:
55
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
66
cancel-in-progress: true
77
jobs:
8+
internal_investigation:
9+
runs-on: ubuntu-latest
10+
name: Internal Investigation
11+
steps:
12+
- uses: actions/checkout@v4
13+
- uses: ruby/setup-ruby@v1
14+
with:
15+
ruby-version: ruby # Latest stable CRuby version
16+
bundler-cache: true
17+
- run: bundle exec rake internal_investigation
18+
819
yamllint:
920
name: Yamllint
1021
runs-on: ubuntu-latest
@@ -18,6 +29,7 @@ jobs:
1829
yamllint_comment: true
1930
env:
2031
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
2133
mdformat:
2234
name: Mdformat
2335
runs-on: ubuntu-latest

.github/workflows/main.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,14 @@ jobs:
3535
- "3.4"
3636
- ruby-head
3737
- jruby-9.4
38-
task:
39-
- internal_investigation
40-
- spec
41-
name: "Ruby ${{ matrix.ruby }}: ${{ matrix.task }}"
38+
name: "Ruby ${{ matrix.ruby }} - Spec"
4239
steps:
4340
- uses: actions/checkout@v4
4441
- uses: ruby/setup-ruby@v1
4542
with:
4643
ruby-version: "${{ matrix.ruby }}"
4744
bundler-cache: true
48-
- run: NO_COVERAGE=true bundle exec rake ${{ matrix.task }}
45+
- run: NO_COVERAGE=true bundle exec rake spec
4946

5047
coverage:
5148
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)