Skip to content

github: use stable checkout@v4 #45

github: use stable checkout@v4

github: use stable checkout@v4 #45

Workflow file for this run

on: [push]
name: Unit test
jobs:
test:
runs-on: [ windows-latest ]
strategy:
fail-fast: false
matrix:
ruby: [ '2.7', '3.1', '3.2', '3.3', '3.4' ]
name: Test on Windows Server with Ruby ${{ matrix.ruby }}
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: ridk exec bundle install
- name: Run tests
run: bundle exec rake test
- name: Build for distribution
run: bundle exec gem build
- name: Upload gem
uses: actions/upload-artifact@v4
with:
name: fluent-plugin-widows-exporter
path: |
*.gem