Skip to content

Commit

Permalink
tests: run static analysis for prs in self-hosted runners (#13855)
Browse files Browse the repository at this point in the history
* tests: run static analysis for prs in self-hosted runners

With this change the prs will run static analysis

* update the static analysis workflow

* change job name to tiobe-static-analysis
  • Loading branch information
sergiocazzolato authored May 17, 2024
1 parent 586776d commit ef18e9a
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ef18e9a

Please sign in to comment.