Skip to content

chore: bump step-security/harden-runner from 2.10.2 to 2.10.3 #678

chore: bump step-security/harden-runner from 2.10.2 to 2.10.3

chore: bump step-security/harden-runner from 2.10.2 to 2.10.3 #678

Workflow file for this run

name: lint-go
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
GO_VERSION: '1.23'
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden Runner
uses: step-security/harden-runner@c95a14d0e5bab51a9f56296a4eb0e416910cd350 # v2.10.3
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: true
fetch-depth: 0
- name: Set up Go ${{ env.GO_VERSION }}
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Run go vet
run: |
make vet
- name: Run golangci-lint
run: make lint