.github/workflows/tests.yml in devise-guests-0.8.0 vs .github/workflows/tests.yml in devise-guests-0.8.1

- old
+ new

@@ -10,13 +10,42 @@ on: push: branches: [ master ] pull_request: branches: [ master ] + types: + - opened + - synchronize + - reopened + - ready_for_review + - labeled + - unlabeled jobs: + changelog: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - id: read-version + run: | + echo "::set-output name=VERSION::`cat lib/devise-guests/version.rb | grep -i version | awk '{ print $3 }' | sed -e 's/\"//g'`" + - uses: dangoslen/changelog-enforcer@v2.3.1 + with: + skipLabels: 'skip-changelog' + expectedLatestVersion: ${{ steps.read-version.outputs.VERSION }} + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: '2.6' + bundler-cache: true + - run: bundle exec standardrb test: - + needs: + - changelog + - lint runs-on: ubuntu-latest strategy: matrix: ruby-version: ['2.6', '2.7', '3.0']