Skip to content

Commit c233be9

Browse files
authored
Merge pull request #491 from MSP-Greg/actions
Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows
2 parents 564c5ca + 04d6e5f commit c233be9

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: CI
33
on:
44
- push
55
- pull_request
6+
- workflow_dispatch
67

78
jobs:
89
ruby-versions:
@@ -35,18 +36,16 @@ jobs:
3536
- { os: windows-latest, ruby: jruby-head }
3637

3738
steps:
38-
- uses: actions/checkout@v2
39+
- uses: actions/checkout@v3
3940

4041
- name: Set up Ruby
41-
uses: ruby/setup-ruby@v1
42+
uses: ruby/setup-ruby-pkgs@v1
4243
with:
4344
ruby-version: ${{ matrix.ruby }}
44-
45-
- run: sudo apt install ragel
46-
if: ${{ startsWith(matrix.os, 'ubuntu') }}
47-
48-
- run: brew install ragel
49-
if: ${{ startsWith(matrix.os, 'macos') }}
45+
apt-get: ragel
46+
brew: ragel
47+
# only needed for Ruby 2.3
48+
mingw: ragel
5049

5150
- run: bundle install
5251

0 commit comments

Comments
 (0)