Skip to content

Merge pull request #1714 from shirou/dependabot/github_actions/action… #1148

Merge pull request #1714 from shirou/dependabot/github_actions/action…

Merge pull request #1714 from shirou/dependabot/github_actions/action… #1148

Workflow file for this run

name: Golangci-lint
on:
push:
pull_request:
permissions:
contents: read
jobs:
golangci:
permissions:
contents: read # for actions/checkout to fetch code
pull-requests: read # for golangci/golangci-lint-action to fetch pull requests
name: lint
runs-on: ubuntu-latest
steps:
- name: Setup go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: 1.17
cache: false
- name: Checkout repository
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
args: --verbose
version: latest