Skip to content

Bump step-security/harden-runner from 2.8.0 to 2.8.1 #1410

Bump step-security/harden-runner from 2.8.0 to 2.8.1

Bump step-security/harden-runner from 2.8.0 to 2.8.1 #1410

Workflow file for this run

name: "CodeQL Analysis"
on: [ push, pull_request ]
permissions:
contents: read
jobs:
analyze:
permissions:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/analyze to upload SARIF results
name: Analyze
runs-on: ubuntu-20.04
env:
GOPATH: /home/runner/go
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f079b8493333aace61c81488f8bd40919487bd9f
with:
languages: ${{ matrix.language }}
- name: Setup Golang
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: '1.19'
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f079b8493333aace61c81488f8bd40919487bd9f