Sha256: 5d01c39d2f2874de32fb7388f0f90bae1d8eec74af0982cc26a6fc75d92aa3b9

Contents?: true

Size: 704 Bytes

Versions: 1

Compression:

Stored size: 704 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@v3

      - 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@v3
        with:
          token: ${{ secrets.CODECOV_TOKEN }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
crowdin-api-1.6.0 .github/workflows/test-and-lint.yml