diff --git a/.github/workflows/codeql-go.yml b/.github/workflows/codeql-go.yml new file mode 100644 index 00000000..12d8468e --- /dev/null +++ b/.github/workflows/codeql-go.yml @@ -0,0 +1,23 @@ +name: CodeQL Analysis with latest Go version +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test: + name: test and analyze + runs-on: ubuntu-latest + steps: + - name: checkout repo + uses: actions/checkout@v4 + with: + submodules: 'true' + + - name: CodeQL analyze with Go + uses: opslevel/actions/codeql-go@main + with: + go_mod_path: src