Skip to content

Bump golang from 1.24.1-bookworm to 1.24.2-bookworm in the docker-all group #784

Bump golang from 1.24.1-bookworm to 1.24.2-bookworm in the docker-all group

Bump golang from 1.24.1-bookworm to 1.24.2-bookworm in the docker-all group #784

Workflow file for this run

# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Code security analysis"
on:
push:
tags: ["*"]
branches: ["*"]
pull_request:
branches: ["*"]
schedule:
- cron: "25 10 * * 3"
workflow_dispatch:
permissions: {}
jobs:
analyze-codeql:
name: "CodeQL analysis (${{ matrix.language }})"
runs-on: "ubuntu-latest"
permissions:
actions: "read"
contents: "read"
security-events: "write"
strategy:
fail-fast: false
matrix:
language: ["go"]
steps:
- name: "Checkout"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- name: "Set up Go"
uses: "actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b"
with:
go-version-file: "./go.mod"
check-latest: true
- name: "Initialize CodeQL"
uses: "github/codeql-action/init@28deaeda66b76a05916b6923827895f2b14ab387"
with:
languages: "${{ matrix.language }}"
- name: "Autobuild"
uses: "github/codeql-action/autobuild@28deaeda66b76a05916b6923827895f2b14ab387"
- name: "Perform CodeQL analysis"
uses: "github/codeql-action/analyze@28deaeda66b76a05916b6923827895f2b14ab387"
analyze-gosec:
name: "Gosec analysis"
runs-on: "ubuntu-latest"
permissions:
actions: "read"
contents: "read"
security-events: "write"
steps:
- name: "Checkout"
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683"
- name: "Set up Go"
uses: "actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b"
with:
go-version-file: "./go.mod"
check-latest: true
- name: "Perform Gosec analysis"
uses: "securego/gosec@955a68d0d19f4afb7503068f95059f7d0c529017"
with:
args: "-no-fail -tests -fmt sarif -out ./results.sarif ./..."
- name: "Upload SARIF file"
uses: "github/codeql-action/upload-sarif@28deaeda66b76a05916b6923827895f2b14ab387"
with:
sarif_file: "./results.sarif"