Sha256: 22bf4d8e309bca5282c81b759fcf044348cc981826d409aecf008f4f53a3e700

Contents?: true

Size: 889 Bytes

Versions: 5

Compression:

Stored size: 889 Bytes

Contents

---
name: CI

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Setup ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: '2.7'
          bundler-cache: true
      - name: Run rubocop
        run: bundle exec rubocop
  test:
    needs: lint
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version:
          - 2.6
          - 2.7
          - 3.0
          - 3.1
          - 3.2
    steps:
      - uses: actions/checkout@v3
      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Build the parser
        run: bundle exec rake gen_parser
      - name: Run the test suite
        run: bundle exec rspec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
riemann-tools-1.8.2 .github/workflows/ci.yml
riemann-tools-1.8.1 .github/workflows/ci.yml
riemann-tools-1.8.0 .github/workflows/ci.yml
riemann-tools-1.7.1 .github/workflows/ci.yml
riemann-tools-1.7.0 .github/workflows/ci.yml