Sha256: 71ae70f0346c1bc64d211d5e564299c6c414ae3cc3a3e5173504faa2c11e576c

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

name: build
on:
  push:
    branches: [ main ]
  pull_request:

jobs:
  test:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: [2.7, 2.6, 2.5, '3.0']

    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby ${{ matrix.ruby-version }}
        uses: ruby/setup-ruby@v1.81.0
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Install dependencies
        run: bundle install
      - name: Run tests
        run: bundle exec rspec
  lint:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        ruby-version: [2.7, 2.6, 2.5, '3.0']

    steps:
      - uses: actions/checkout@v2
      - name: Set up Ruby ${{ matrix.ruby-version }}
        uses: ruby/setup-ruby@v1.81.0
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Install dependencies
        run: bundle install
      - name: Run rubocop
        run: bundle exec rubocop
      - name: Run fasterer
        run: bundle exec fasterer
      - name: Run bundle audit
        run: bundle exec bundle audit check --update

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
snfoil-searcher-0.0.4 .github/workflows/main.yml
snfoil-policy-0.0.4 .github/workflows/main.yml