summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2021-04-13 19:22:28 -0700
committerTim Smith <tsmith84@gmail.com>2021-04-13 19:38:09 -0700
commit1adcb5fe7892535acea3e01323cfc1fe2818ad3f (patch)
treed90b1bf200377183457b5079075b790f265457b0 /.github
parentc9e8ca8a6f64c9663159caf03b91827638496b15 (diff)
downloadchef-1adcb5fe7892535acea3e01323cfc1fe2818ad3f.tar.gz
Move Chefstyle to GitHub Actions
Test this on GH Actions Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/chefstyle.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/chefstyle.yml b/.github/workflows/chefstyle.yml
new file mode 100644
index 0000000000..9d00358f76
--- /dev/null
+++ b/.github/workflows/chefstyle.yml
@@ -0,0 +1,21 @@
+---
+name: ci
+
+"on":
+ pull_request:
+ push:
+ branches:
+ - master
+
+jobs:
+ chefstyle:
+ runs-on: ubuntu-latest
+ env:
+ BUNDLE_WITHOUT: ruby_shadow:ruby_prof:omnibus_package
+ steps:
+ - uses: actions/checkout@v2
+ - uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: 2.7
+ bundler-cache: true
+ - run: bundle exec rake style