Skip to content

[PathHelper#join] Reduce allocations #9813

[PathHelper#join] Reduce allocations

[PathHelper#join] Reduce allocations #9813

Workflow file for this run

---
name: lint
on:
pull_request:
push:
branches:
- main
jobs:
chefstyle:
runs-on: ubuntu-latest
env:
BUNDLE_WITHOUT: ruby_shadow:omnibus_package
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler-cache: false
- uses: r7kamura/rubocop-problem-matchers-action@v1 # this shows the failures in the PR
- run: |
gem install chefstyle
chefstyle -c .rubocop.yml
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: carlosperate/[email protected]
id: download-custom-dictionary
with:
file-url: 'https://raw.githubusercontent.com/chef/chef_dictionary/main/chef.txt'
file-name: 'chef_dictionary.txt'
- uses: streetsidesoftware/[email protected]