feat(super-agent): Included Super agent, super agent logs target #56
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: ci | |
"on": | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install Chef | |
uses: actionshub/[email protected] | |
- name: Install Gems | |
run: chef gem install -N "${{ inputs.gems }}" | |
if: ${{ github.event.inputs.gems != '' }} | |
env: | |
CHEF_LICENSE: accept-no-persist | |
- name: Run RSpec | |
run: chef exec rspec -f j -o tmp/rspec_results.json -f p | |
env: | |
CHEF_LICENSE: accept-no-persist | |
- name: RSpec Report | |
uses: SonicGarden/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
json-path: tmp/rspec_results.json | |
if: always() | |
cookstyle: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Install Chef | |
uses: actionshub/[email protected] | |
- name: Run Cookstyle | |
run: chef exec cookstyle --display-cop-names --extra-details | |
env: | |
CHEF_LICENSE: accept-no-persist | |
yamllint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run yaml Lint | |
uses: actionshub/[email protected] |