build(deps): bump oss-fuzz-base/base-builder from 6c61e46
to 4dfa9f8
in /.clusterfuzzlite
#1567
Workflow file for this run
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: Linting & Formatting | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
merge_group: | |
permissions: | |
contents: read | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
formatter: | |
name: Formatting | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
persist-credentials: false | |
- uses: DoozyX/clang-format-lint-action@a83a8fb7d371f66da7dd1c4f33a193023899494b # v0.16 | |
with: | |
clangFormatVersion: 14 | |
inplace: true | |
extensions: "cpp,hpp" | |
exclude: "./external" | |
- uses: reviewdog/action-suggester@94877e550e6b522dc1d21231974b645ff2f084ce # v1.8.0 | |
with: | |
tool_name: clang-format | |
filter_mode: diff_context | |
linter: | |
name: Linting | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
security-events: write | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- uses: oxsecurity/megalinter@b48455a119cc28045eee8f1e9d0a542a85e71f4f # v7.5.0 | |
env: | |
APPLY_FIXES: all | |
VALIDATE_ALL_CODEBASE: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- uses: github/codeql-action/upload-sarif@74483a38d39275f33fcff5f35b679b5ca4a26a99 # v2.22.5 | |
if: ${{ success() || failure() }} | |
with: | |
sarif_file: megalinter-reports/megalinter-report.sarif | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
if: ${{ success() || failure() }} | |
with: | |
name: linter | |
path: | | |
megalinter-reports | |
- uses: reviewdog/action-suggester@94877e550e6b522dc1d21231974b645ff2f084ce # v1.8.0 | |
with: | |
tool_name: MegaLinter | |
filter_mode: diff_context |