Sha256: cc88147cbc034e822f2c53baf6d9e42cfed23b544ef7cad8387e0d65db2730e6

Contents?: true

Size: 752 Bytes

Versions: 4

Compression:

Stored size: 752 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: [ '3.0', '3.1', '3.2', '3.3' ]
    steps:
      - name: Checkout code
        uses: actions/checkout@v4

      - 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@v4
        if: matrix.ruby-version == '3.0'
        with:
          token: ${{ secrets.CODECOV_TOKEN }}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
crowdin-api-1.12.0 .github/workflows/test-and-lint.yml
crowdin-api-1.10.0 .github/workflows/test-and-lint.yml
crowdin-api-1.9.0 .github/workflows/test-and-lint.yml
crowdin-api-1.8.1 .github/workflows/test-and-lint.yml