Skip to content

chore(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 #663

chore(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0

chore(deps): bump golangci/golangci-lint-action from 3.6.0 to 3.7.0 #663

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Go go1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: |
go env
go get -v -t -d ./...
- name: golangci-lint
uses: golangci/[email protected]
with:
args: "--out-${NO_FUTURE}format colored-line-number"
skip-build-cache: false
skip-cache: false
skip-pkg-cache: false
github-token: ${{ secrets.GITHUB_TOKEN }}
only-new-issues: false