Sha256: 4eac84a871b1dff4217b94d6af0f60a4b6a0e193579a045f962ac5902bdd80e7

Contents?: true

Size: 701 Bytes

Versions: 5

Compression:

Stored size: 701 Bytes

Contents

name: Test and Lint

on:
  push:
    branches:
      - '**'
  pull_request:
    branches: [ main ]

jobs:
  test-and-lint:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        ruby-version: [ '2.6', '2.7', '3.0' ]
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Set up Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version: ${{ matrix.ruby-version }}
          bundler-cache: true
      - name: Run tests and linter
        run: |
          bundle exec rubocop
          bundle exec rake
      - name: Publish code coverage report
        uses: codecov/codecov-action@v1
        with:
          token: ${{ secrets.CODECOV_TOKEN }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
crowdin-api-1.5.0 .github/workflows/test-and-lint.yml
crowdin-api-1.4.0 .github/workflows/test-and-lint.yml
crowdin-api-1.3.0 .github/workflows/test-and-lint.yml
crowdin-api-1.2.1 .github/workflows/test-and-lint.yml
crowdin-api-1.2.0 .github/workflows/test-and-lint.yml