Skip to content

Commit

Permalink
add clang static analyzer
Browse files Browse the repository at this point in the history
  • Loading branch information
radkesvat committed Jun 18, 2024
1 parent 6ecd6da commit 103f6b9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/clang_static_analyzer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CLang Static Analyzer

on:
push:
paths-ignore:
- 'doc/**'
branches-ignore:
- 'backport**'
- 'dependabot**'
pull_request:
paths-ignore:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:

clang_static_analyzer:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Run
run: docker run --rm -v $PWD:$PWD ubuntu:22.04 sh -c "cd $PWD && apt update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends sudo software-properties-common && DEBIAN_FRONTEND=noninteractive sh ./ci/travis/csa_common/before_install.sh && sh ./ci/travis/csa_common/install.sh && sh ./ci/travis/csa_common/script.sh"

0 comments on commit 103f6b9

Please sign in to comment.