Skip to content

chore: pin GitHub Actions to commit SHAs #97

chore: pin GitHub Actions to commit SHAs

chore: pin GitHub Actions to commit SHAs #97

Workflow file for this run

---
name: Unit Testing
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
rspec:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Install Chef
uses: actionshub/chef-install@715f6ec56df078a1c7f23df9d1038136c9797b1b # 6.0.0
- 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/rspec-report-action@1db4b15383ec30ec6ecfc9e7f92488647f7900bd # v6.0.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
json-path: tmp/rspec_results.json
if: always()