Report #22
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: Report | |
on: | |
push: | |
branches: ['*'] | |
# manual run | |
workflow_dispatch: | |
# scheduled run (daily at 2:15) | |
schedule: | |
- cron: "15 2 * * *" | |
jobs: | |
report: | |
name: "Report" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Setup Go" | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: "Run report" | |
run: | | |
bash ./scripts/report.sh | |
- name: "Show report" | |
run: | | |
echo "Showing report" | |
echo ::group::VPP API | |
cat vppapi.txt | |
echo ::endgroup:: | |
echo ::group::VPP API Lint | |
cat vppapi_lint.txt | |
echo ::endgroup:: | |
echo ::group::VPP API Diff | |
cat vppapi_diff.txt | |
echo ::endgroup:: | |
- name: "Upload artifact" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: vppapi_report | |
path: vppapi*.txt |