Sha256: 3681952e42d4c8fb6d0ae6c5d1df007375357a8953a5c0ad4f50ad5346feb242

Contents?: true

Size: 896 Bytes

Versions: 1

Compression:

Stored size: 896 Bytes

Contents

name: Test Exporter

on:
  push:
  pull_request:
  schedule:
    - cron: '0 0 * * 0' # weekly

jobs:
  build:
    runs-on: ubuntu-latest
    name: Ruby ${{ matrix.ruby }}
    strategy:
      matrix:
        ruby: ["2.7", "2.6", "2.5", "2.4"]
    steps:
      - uses: actions/checkout@master
        with:
          fetch-depth: 1
      - uses: actions/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - uses: actions/cache@v2
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/Gemfile.lock') }}
          restore-keys: |
            ${{ runner.os }}-${{ matrix.ruby }}-gems-
      - name: Setup gems
        run: |
          bundle config path vendor/bundle
          bundle install --jobs 4
      - name: Rubocop
        run: bundle exec rubocop
      - name: Run tests
        run: bundle exec rake

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prometheus_exporter-0.6.0 .github/workflows/ci.yml