diff options
author | Tim Smith <tsmith84@gmail.com> | 2021-04-13 19:22:28 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-04-13 19:38:09 -0700 |
commit | 1adcb5fe7892535acea3e01323cfc1fe2818ad3f (patch) | |
tree | d90b1bf200377183457b5079075b790f265457b0 | |
parent | c9e8ca8a6f64c9663159caf03b91827638496b15 (diff) | |
download | chef-1adcb5fe7892535acea3e01323cfc1fe2818ad3f.tar.gz |
Move Chefstyle to GitHub Actions
Test this on GH Actions
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | .expeditor/verify.pipeline.yml | 10 | ||||
-rw-r--r-- | .github/workflows/chefstyle.yml | 21 |
2 files changed, 21 insertions, 10 deletions
diff --git a/.expeditor/verify.pipeline.yml b/.expeditor/verify.pipeline.yml index b2f19efa8b..4aa5fce8b8 100644 --- a/.expeditor/verify.pipeline.yml +++ b/.expeditor/verify.pipeline.yml @@ -41,16 +41,6 @@ steps: # Tests Ruby 3.0 ######################################################################### -- label: "Chefstyle :ruby: 3.0" - commands: - - /workdir/.expeditor/scripts/bk_container_prep.sh - - bundle install --jobs=3 --retry=3 --path=vendor/bundle --without omnibus_package ruby_prof - - bundle exec rake style - expeditor: - executor: - docker: - image: rubydistros/ubuntu-18.04:3.0 - - label: "Integration Ubuntu 18.04 :ruby: 3.0" commands: - /workdir/.expeditor/scripts/bk_container_prep.sh 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 |