Skip to content

Commit a5ccc01

Browse files
committed
- Normalize GHA workflow with minitest and others.
[git-p4: depot-paths = "//src/path_expander/dev/": change = 14860]
1 parent ca6d958 commit a5ccc01

1 file changed

Lines changed: 11 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- '3.2'
2929
- '3.3'
3030
- '3.4'
31+
- '4.0'
3132
- head
3233
include:
3334
- os: windows-latest
@@ -46,21 +47,27 @@ jobs:
4647

4748
steps:
4849
- name: repo checkout
49-
uses: actions/checkout@v4
50+
uses: actions/checkout@main
5051

5152
- name: load ruby
5253
uses: ruby/setup-ruby@v1
5354
with:
5455
ruby-version: ${{ matrix.ruby }}
5556
bundler: none
5657

57-
- name: install hoe
58+
- name: install hoe if not hoe
5859
run: gem install hoe -N
60+
if: ${{ github.event.repository.name != 'hoe' }}
5961

60-
- name: install prism
62+
- name: install minitest if not minitest
63+
run: gem install minitest -N
64+
if: ${{ github.event.repository.name != 'minitest' }}
65+
66+
- name: install prism if minitest
6167
run: gem install prism -N --conservative
68+
if: ${{ github.event.repository.name == 'minitest' }}
6269

6370
- name: rake test
71+
timeout-minutes: 3
6472
run: |
6573
rake ${{ matrix.task }} RUBYOPT="${{ matrix.rubyopt }}"
66-
timeout-minutes: 3

0 commit comments

Comments
 (0)