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