mirror of
https://github.com/samber/lo.git
synced 2025-09-26 20:11:13 +08:00

* lint: pin golangci-lint version * feat: preserve type alias in WithoutBy * feat: preserve type alias in DropByIndex --------- Co-authored-by: Samuel Berthe <dev@samuel-berthe.fr>
25 lines
472 B
YAML
25 lines
472 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: 1.18
|
|
stable: false
|
|
- uses: actions/checkout@v5
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|
|
with:
|
|
version: 'v2.4'
|
|
args: --timeout 120s --max-same-issues 50
|
|
|
|
- name: Bearer
|
|
uses: bearer/bearer-action@v2
|