Skip to content

deps: bump step-security/harden-runner from 2.6.1 to 2.7.0 #56

deps: bump step-security/harden-runner from 2.6.1 to 2.7.0

deps: bump step-security/harden-runner from 2.6.1 to 2.7.0 #56

Workflow file for this run

name: lint
permissions: {} # no need any permissions
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_call:
jobs:
run:
name: Lint
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
fail-fast: true
steps:
- name: Harden Runner
uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: 'stable'
check-latest: true
- name: Lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: latest
args: --timeout 5m