Skip to content

Merge pull request #1496 from shirou/dependabot/go_modules/golang.org… #623

Merge pull request #1496 from shirou/dependabot/go_modules/golang.org…

Merge pull request #1496 from shirou/dependabot/go_modules/golang.org… #623

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@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: 1.17
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- name: Setup golangci-lint
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
with:
args: --verbose
version: latest