Skip to content

Nguyen/v2.0.x ibchooks #575

Nguyen/v2.0.x ibchooks

Nguyen/v2.0.x ibchooks #575

Workflow file for this run

---
name: golangci-lint
on:
push:
tags:
- v*
branches:
- release/v*
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
# pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: 1.20.0
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 10m