Update nio4r
#2042
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
jobs: | |
javascript_test: | |
name: JavaScript Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18, 20, 22] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node v${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'yarn' | |
- name: Yarn install | |
run: yarn | |
- name: Run JavaScript Tests | |
run: yarn run test | |
ruby_test: | |
name: Ruby Test Action | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: ['3.0', 3.1, 3.2, 3.3] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Ruby v${{ matrix.ruby }} | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run ruby tests | |
run: bundle exec rake test_ruby |