Files
terraform-docs/.github/workflows/codeql.yaml
Pascal Hofmann 983e98a7b5 chore: bump golang to 1.24.2
Signed-off-by: Pascal Hofmann <mail@pascalhofmann.de>
2025-04-04 20:46:08 +02:00

34 lines
632 B
YAML

name: codeql
on:
push:
branches:
- master
env:
GO_VERSION: "1.24.2"
jobs:
analyze:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
- name: Build binary
run: make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3