]> git.openstreetmap.org Git - chef.git/blob - .github/workflows/cookstyle.yml
github actions: Switch to action ruby/setup-ruby from deprecated actions/setup-ruby
[chef.git] / .github / workflows / cookstyle.yml
1 name: Cookstyle
2 on:
3   - push
4   - pull_request
5 jobs:
6   cookstyle:
7     name: Cookstyle
8     runs-on: ubuntu-latest
9     steps:
10     - name: Check out code
11       uses: actions/checkout@v3
12     - name: Setup ruby
13       uses: ruby/setup-ruby@v1
14       with:
15         bundler-cache: true
16     - name: Run cookstyle
17       run: bundle exec cookstyle --format fuubar