diff --git a/.github/workflows/static-analysis.yaml b/.github/workflows/static-analysis.yaml new file mode 100644 index 00000000000..ca4d9a40e46 --- /dev/null +++ b/.github/workflows/static-analysis.yaml @@ -0,0 +1,14 @@ +name: "Static code analysis" +on: [pull_request] + +jobs: + tiobe-static-analysis: + runs-on: self-hosted + steps: + - uses: actions/checkout@v4 + - name: TICS GitHub Action + uses: tiobe/tics-github-action@v2 + with: + projectName: snapd + ticsConfiguration: https://canonical.tiobe.com/tiobeweb/TICS/api/cfg?name=default + installTics: true