Skip to content

🤖 ci: add code and image security scanning #1

🤖 ci: add code and image security scanning

🤖 ci: add code and image security scanning #1

Workflow file for this run

name: CodeQL
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 6 * * 1'
permissions:
contents: read
security-events: write
actions: read
jobs:
analyze:
name: Analyze (Go)
runs-on: depot-ubuntu-24.04-8
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@f5c2471be782132e47a6e6f9c725e56730d6e9a3 # v3.32.3
with:
languages: go
- name: Build
env:
GOFLAGS: -mod=vendor
run: go build ./...
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f5c2471be782132e47a6e6f9c725e56730d6e9a3 # v3.32.3