]> git.openstreetmap.org Git - chef.git/blob - .github/workflows/cookstyle.yml
Run collectors as oneshot services
[chef.git] / .github / workflows / cookstyle.yml
1 name: Cookstyle
2
3 on:
4   - push
5   - pull_request
6
7 concurrency:
8   group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
9   cancel-in-progress: true
10
11 jobs:
12   cookstyle:
13     name: Cookstyle
14     runs-on: ubuntu-latest
15     steps:
16     - name: Check out code
17       uses: actions/checkout@v3
18     - name: Setup ruby
19       uses: ruby/setup-ruby@v1
20       with:
21         bundler-cache: true
22     - name: Run cookstyle
23       run: bundle exec cookstyle --format fuubar