github.com/pdmccormick/importable-docker-buildx@v0.0.0-20240426161518-e47091289030/.github/workflows/codeql.yml (about) 1 name: codeql 2 3 on: 4 push: 5 branches: 6 - 'master' 7 - 'v[0-9]*' 8 pull_request: 9 10 permissions: 11 actions: read 12 contents: read 13 security-events: write 14 15 env: 16 GO_VERSION: "1.21" 17 18 jobs: 19 codeql: 20 runs-on: ubuntu-latest 21 steps: 22 - 23 name: Checkout 24 uses: actions/checkout@v4 25 - 26 name: Set up Go 27 uses: actions/setup-go@v5 28 with: 29 go-version: ${{ env.GO_VERSION }} 30 - 31 name: Initialize CodeQL 32 uses: github/codeql-action/init@v3 33 with: 34 languages: go 35 - 36 name: Autobuild 37 uses: github/codeql-action/autobuild@v3 38 - 39 name: Perform CodeQL Analysis 40 uses: github/codeql-action/analyze@v3 41 with: 42 category: "/language:go"