Skip to content

Synchronize common files from prometheus/prometheus #7

Synchronize common files from prometheus/prometheus

Synchronize common files from prometheus/prometheus #7

Workflow file for this run

---
name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
name: Ruby ${{ matrix.ruby-version }}
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
ruby-version:
- "3.2"
- "3.3"
- "3.4"
- "4.0"
- "jruby-9.4"
- "jruby-10.0.2.0"
steps:
- name: Check out
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set up Ruby ${{ matrix.ruby-version }}
uses: ruby/setup-ruby@afeafc3d1ab54a631816aba4c914a0081c12ff2f # v1.310.0
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
cache-version: ${{ matrix.ruby-version }}
- name: Run specs
run: bundle exec rake