summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-08 14:50:26 +0900
committerGitHub <noreply@github.com>2023-03-08 14:50:26 +0900
commitc233be905baa7889c26ce033d07ecab90a395f00 (patch)
tree57a951a394b4101f89f2715f60bca4b37cdf47a3
parent564c5ca58af0ca861b05a3574ac123144a7764b6 (diff)
parent04d6e5f630309124bcf513c707e18a481611c294 (diff)
downloadjson-c233be905baa7889c26ce033d07ecab90a395f00.tar.gz
Merge pull request #491 from MSP-Greg/actions
Actions workflow - Add new OS's, Ruby 3.1, Ruby master, Windows
-rw-r--r--.github/workflows/ci.yml15
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index db4e360..3074be5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,7 @@ name: CI
on:
- push
- pull_request
+- workflow_dispatch
jobs:
ruby-versions:
@@ -35,18 +36,16 @@ jobs:
- { os: windows-latest, ruby: jruby-head }
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: Set up Ruby
- uses: ruby/setup-ruby@v1
+ uses: ruby/setup-ruby-pkgs@v1
with:
ruby-version: ${{ matrix.ruby }}
-
- - run: sudo apt install ragel
- if: ${{ startsWith(matrix.os, 'ubuntu') }}
-
- - run: brew install ragel
- if: ${{ startsWith(matrix.os, 'macos') }}
+ apt-get: ragel
+ brew: ragel
+ # only needed for Ruby 2.3
+ mingw: ragel
- run: bundle install