File: codeql.yml

package info (click to toggle)
golang-github-containerd-accelerated-container-image 1.4.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,500 kB
  • sloc: sh: 351; python: 59; makefile: 30
file content (37 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: "CodeQL Scan"

on:
  push:
    branches:
      - main
  pull_request:
    branches:
      - main

jobs:
  CodeQL-Build:

    strategy:
      fail-fast: false

    runs-on: ubuntu-22.04

    timeout-minutes: 30

    steps:
    - name: Checkout repository
      uses: actions/checkout@v6

    - uses: actions/setup-go@v6
      with:
        go-version: '1.26'

    # Initializes the CodeQL tools for scanning.
    - name: Initialize CodeQL
      uses: github/codeql-action/init@v3

    - run: |
        make

    - name: Perform CodeQL Analysis
      uses: github/codeql-action/analyze@v3