Skip to content

Bump actions/setup-go from 5.0.2 to 5.1.0 #255

Bump actions/setup-go from 5.0.2 to 5.1.0

Bump actions/setup-go from 5.0.2 to 5.1.0 #255

Workflow file for this run

name: CodeQL
on:
pull_request: ~
push:
branches:
- main
permissions: read-all
jobs:
go:
name: Go
runs-on: ubuntu-24.04
permissions:
security-events: write # To upload CodeQL results
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Install Go
uses: actions/[email protected]
with:
go-version-file: go.mod
- name: Verify action checksums
env:
JOB: ${{ github.job }}
WORKFLOW: ${{ github.workflow_ref }}
run: |
WORKFLOW=$(echo "$WORKFLOW" | cut -d '@' -f 1 | cut -d '/' -f 3-5)
go run ./cmd/ghasum verify -cache /home/runner/work/_actions -no-evict -offline "$WORKFLOW:$JOB"
- name: Initialize CodeQL
uses: github/codeql-action/[email protected]
with:
languages: go
- name: Perform CodeQL analysis
uses: github/codeql-action/[email protected]