Sha256: 48366f3c7e8d39e3449136f4105506d81e2fc3693ac4d4d52374f66165f5bf8c

Contents?: true

Size: 1.25 KB

Versions: 6

Compression:

Stored size: 1.25 KB

Contents

name: CI

on:
  push:
    branches:
      - master
  pull_request:

jobs:
  lint:
    name: Lint
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: 3.1
        bundler-cache: true

    - name: Run rubocop
      uses: reviewdog/action-rubocop@v1
      with:
        github_token: ${{ secrets.GITHUB_TOKEN }}
        reporter: github-pr-review
        fail_on_error: true

  test:
    name: Test
    needs: [ lint ]
    strategy:
      fail-fast: false
      matrix:
        ruby-version:
          - '2.1'
          - '2.2'
          - '2.3'
          - '2.4'
          - '2.5'
          - '2.6'
          - '2.7'
          - '3.0'
          - '3.1'
    runs-on: ubuntu-latest
    env:
      DISABLE_AWS_CLIENT_CHECK: true

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Set up Ruby
      uses: ruby/setup-ruby@v1
      with:
        ruby-version: ${{ matrix.ruby-version }}
        bundler-cache: true

    - name: Show Ruby version
      run: ruby -v

    - name: Generate document
      run: bundle exec bin/toolbox docgen > doc/resource_types.md

    - name: Run tests
      run: bundle exec rake spec:parallel

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
awspec-1.28.2 .github/workflows/ci.yml
awspec-1.28.1 .github/workflows/ci.yml
awspec-1.28.0 .github/workflows/ci.yml
awspec-1.27.1 .github/workflows/ci.yml
awspec-1.27.0 .github/workflows/ci.yml
awspec-1.26.0 .github/workflows/ci.yml