Sha256: 79244ff8b7a81e020079534f170186e5cabcf75dedb33d97e061d241a2c1c63c

Contents?: true

Size: 801 Bytes

Versions: 3

Compression:

Stored size: 801 Bytes

Contents

name: Skunk
on: [push, pull_request]

jobs:
  skunk:
    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v1
      - name: Setup Ruby
        uses: actions/setup-ruby@v1
        with:
          ruby-version: 2.6.x
      - name: Run test suite with COVERAGE=true
        run: |
          gem install bundler
          bundle install --jobs 4 --retry 3
          COVERAGE=true bundle exec rake test
      - name: Run Skunk on Project
        run: |
          gem install skunk
          CURRENT_BRANCH="$(git rev-parse --abbrev-ref HEAD)"
          if [[ "$CURRENT_BRANCH" != "main" ]]; then
            echo "Executing within branch: $CURRENT_BRANCH"
            skunk lib/ -b master
          else
            echo "Executing within master branch"
            skunk lib/
          fi

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
skunk-0.5.2 .github/workflows/skunk.yml
skunk-0.5.1 .github/workflows/skunk.yml
skunk-0.5.0 .github/workflows/skunk.yml