Sha256: ca53776f47e38552b7976648b744af66a6c0ff33f595829ef0e823c901a94903

Contents?: true

Size: 1013 Bytes

Versions: 1

Compression:

Stored size: 1013 Bytes

Contents

name: Check code style

on:
    push:
        branches: [ base ]
        paths:
            - 'lib/**'
            - 'spec/**'
            - '.github/workflows/**'
    pull_request:
        branches: [ base ]
        paths:
            - 'lib/**'
            - 'spec/**'
            - '.github/workflows/**'

concurrency:
    group: ${{ github.head_ref }}-code-style
    cancel-in-progress: true

jobs:
    code_style:
        runs-on: ubuntu-latest
        strategy:
            matrix:
                ruby-version: [ '3.1', '2.7' ]
        steps:
            -   uses: actions/checkout@v3
            -   name: Set up Ruby ${{ matrix.ruby-version }}
                uses: ruby/setup-ruby@d3c9825d67b0d8720afdfdde5af56c79fdb38d16
                with:
                    ruby-version: ${{ matrix.ruby-version }}
                    bundler-cache: true
            -   name: Install dependencies
                run: bundle install
            -   name: Run tests
                run: bundle exec rake standard

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-shields_io-0.2.0 .github/workflows/code_style.yml