Skip to content

feat(super-agent): Included Super agent, super agent logs target (#17) #57

feat(super-agent): Included Super agent, super agent logs target (#17)

feat(super-agent): Included Super agent, super agent logs target (#17) #57

Workflow file for this run

---
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]