Skip to content

.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml #7984

.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml

.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml #7984

name: golangci-lint
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
# Needed to check out the repo.
contents: read
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: "1.21"
- uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0
name: golangci-lint
with:
# Require: The version of golangci-lint to use.
# When `install-mode` is `binary` (default) the value can be v1.2 or v1.2.3 or `latest` to use the latest version.
# When `install-mode` is `goinstall` the value can be v1.2.3, `latest`, or the hash of a commit.
version: v1.55.2