build(deps): bump github/codeql-action from 3.27.5 to 3.28.0 (#4744) #18
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: Test | |
on: | |
push: | |
branches: [master] | |
paths-ignore: | |
- '*.md' | |
- 'lib/fluent/version.rb' | |
pull_request: | |
branches: [master] | |
paths-ignore: | |
- '*.md' | |
- 'lib/fluent/version.rb' | |
concurrency: | |
group: ${{ github.head_ref || github.sha }}-${{ github.workflow }} | |
cancel-in-progress: true | |
permissions: read-all | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
continue-on-error: false | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] | |
ruby-version: ['3.3', '3.2', '3.1', '3.0', '2.7'] | |
name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.0 | |
with: | |
ruby-version: ${{ matrix.ruby-version }} | |
rubygems: latest | |
- name: Install addons | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: sudo apt-get install libgmp3-dev libcap-ng-dev | |
- name: Install dependencies | |
run: bundle install | |
- name: Run tests | |
run: bundle exec rake test TESTOPTS="-v --no-show-detail-immediately" |