Skip to content

Commit a624609

Browse files
switch to flavour c_cpp
1 parent 3ca6faf commit a624609

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ jobs:
1818
contents: read
1919
issues: write
2020
pull-requests: write
21-
21+
2222
steps:
2323
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3
2424
with:
2525
fetch-depth: 0
2626

2727
- name: MegaLinter
28-
uses: oxsecurity/megalinter@62c799d895af9bcbca5eacfebca29d527f125a57
28+
uses: oxsecurity/megalinter/flavors/[email protected]
2929
env:
3030
VALIDATE_ALL_CODEBASE: true
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -69,7 +69,7 @@ jobs:
6969
7070
- name: Set up Python for gcovr
7171
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548
72-
with:
72+
with:
7373
python-version: '3.11'
7474

7575
- name: Install gcovr
@@ -97,13 +97,13 @@ jobs:
9797
run: |
9898
# Generate HTML report for human viewing
9999
gcovr --html-details --output coverage-report.html
100-
100+
101101
# Generate Cobertura XML for tools/badges
102102
gcovr --cobertura --output coverage.xml
103-
103+
104104
# Generate text summary for console
105105
gcovr --print-summary > coverage-summary.txt
106-
106+
107107
# Print summary to console
108108
echo "Coverage Summary:"
109109
cat coverage-summary.txt
@@ -126,7 +126,7 @@ jobs:
126126
const fs = require('fs');
127127
const summary = fs.readFileSync('coverage-summary.txt', 'utf8');
128128
const comment = `## 📊 Coverage Report\n\n\`\`\`\n${summary}\n\`\`\`\n\nDownload the [detailed HTML report](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}) from the artifacts.`;
129-
129+
130130
github.rest.issues.createComment({
131131
issue_number: context.issue.number,
132132
owner: context.repo.owner,

0 commit comments

Comments
 (0)