Skip to content

Commit

Permalink
Merge branch 'master' into rhel9
Browse files Browse the repository at this point in the history
  • Loading branch information
manegron committed Sep 27, 2023
2 parents b1bfcae + f593faf commit f6636ea
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: lint

'on':
pull_request:
push:
branches:
- '**'

jobs:
cookstyle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler-cache: true
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- name: Run cookstyle
working-directory: ./resources
run: bundle exec cookstyle
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
source 'https://rubygems.org'

gem 'cookstyle', '= 7.32.1'
gem 'rspec', '= 3.11'
gem 'rubocop', '= 1.25.1'

0 comments on commit f6636ea

Please sign in to comment.