summaryrefslogtreecommitdiff
path: root/.github/workflows/lint.yml
blob: d8ede63e2c68018289125da11c10c9eb7b3c3614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
---
name: lint

'on':
  pull_request:
  push:
    branches:
      - main
      - 17-stable
      - 16-stable

jobs:
  chefstyle:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - 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
    - run: bundle exec chefstyle