Skip to content

Merge pull request #30 from jigsaw373/dependabot/go_modules/golang.or… #97

Merge pull request #30 from jigsaw373/dependabot/go_modules/golang.or…

Merge pull request #30 from jigsaw373/dependabot/go_modules/golang.or… #97

name: GolangCI Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
golangci:
name: Lint
runs-on:
- ubuntu-latest
steps:
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.11.0
with:
access_token: ${{ github.token }}
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20.3'
- name: Checkout
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.52.2
only-new-issues: true
skip-cache: true
skip-pkg-cache: true
skip-build-cache: true