Sha256: 8643f32f28eeaef8924a7e57b6919ce004522830dcf769725d8fab21e7a6b4e0

Contents?: true

Size: 1022 Bytes

Versions: 6

Compression:

Stored size: 1022 Bytes

Contents

name: Test & Lint

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

env:
  DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }}

jobs:
  build:
    runs-on: ubuntu-latest
    continue-on-error: ${{ matrix.experimental }}
    strategy:
      fail-fast: false
      matrix:
        ruby: [ '2.6', '2.7', '3.0' ]
        experimental: [ false ]
    name: Ruby ${{ matrix.ruby }}
    steps:
      - uses: actions/checkout@v2
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby }}
      - run: curl https://deepsource.io/cli | sh
      - run: gem install bundler:2.1.4
      - run: bundle install
      - run: bundle exec rubocop
      - run: bundle exec rspec --format progress
      - run: ./bin/deepsource report --analyzer test-coverage --key ruby --value-file ./coverage/.resultset.json
        if: (github.event_name == 'push') || (github.event.pull_request.head.repo.full_name == github.repository) # don't run on forks which don't have access to DEEPSOURCE_DSN

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-block-kit-0.17.0 .github/workflows/ci.yml
slack-ruby-block-kit-0.16.0 .github/workflows/ci.yml
slack-ruby-block-kit-0.15.0 .github/workflows/ci.yml
slack-ruby-block-kit-0.14.1 .github/workflows/ci.yml
slack-ruby-block-kit-0.14.0 .github/workflows/ci.yml
slack-ruby-block-kit-0.13.0 .github/workflows/ci.yml