Skip to content

refactor: clean-up dependencies #83

refactor: clean-up dependencies

refactor: clean-up dependencies #83

Workflow file for this run

name: Lint
on:
pull_request:
push:
paths-ignore:
- '**.md'
branches:
- main
jobs:
lint:
name: golangci-lint
runs-on: ubuntu-latest
timeout-minutes: 6
steps:
- uses: actions/checkout@v3.4.0
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/*.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: '1.21'
- uses: golangci/golangci-lint-action@v3
if: env.GIT_DIFF
with:
version: v1.52.1
install-mode: goinstall
args: --timeout 10m
github-token: ${{ secrets.github_token }}