Skip to content

chore: Bump actions/checkout from 4.1.7 to 4.2.0 #5556

chore: Bump actions/checkout from 4.1.7 to 4.2.0

chore: Bump actions/checkout from 4.1.7 to 4.2.0 #5556

Workflow file for this run

name: "CodeQL Scan"
on:
push:
branches:
- main
- dev
- 1.0.0*
pull_request:
branches:
- main
- dev
- 1.0.0*
schedule:
- cron: "30 1 * * 0"
workflow_dispatch:
permissions: read-all
jobs:
CodeQL-Build:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Harden Runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # tag=3.0.2
- name: setup go environment
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.22"
- name: Initialize CodeQL
uses: github/codeql-action/init@461ef6c76dfe95d5c364de2f431ddbd31a417628 # tag=v3.26.9
with:
languages: go
- name: Run tidy
run: go mod tidy
- name: Build CLI
run: make build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@461ef6c76dfe95d5c364de2f431ddbd31a417628 # tag=v3.26.9