Skip to content

Bump actions/checkout from 6.0.1 to 6.0.2 #1434

Bump actions/checkout from 6.0.1 to 6.0.2

Bump actions/checkout from 6.0.1 to 6.0.2 #1434

Workflow file for this run

name: "go static analysis"
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
static-analysis:
name: "Run Go static analysis"
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@a90bcbc6539c36a85cdfeb73f7e2f433735f215b
with:
egress-policy: block
allowed-endpoints: >
github.com:443
api.github.com:443
proxy.golang.org:443
storage.googleapis.com:443
sum.golang.org:443
golang.org:443
sum.golang.org:443
*.actions.githubusercontent.com:443
objects.githubusercontent.com:443
raw.githubusercontent.com:443
go.dev:443
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 1
- uses: dominikh/staticcheck-action@024238d2898c874f26d723e7d0ff4308c35589a2 # v1.4.0
with:
install-go: true
working-directory: "./v2"