diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..81151e9 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,17 @@ +name: Lint sources +run-name: Lint sources + +on: + push: + pull_request: + branches: [main, develop] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Lint sources + run: | + sudo apt-get update && sudo apt-get install -y pre-commit + pre-commit run --all-files