mirror of
https://github.com/samber/lo.git
synced 2026-04-22 15:37:14 +08:00
380e1a0ae2
* fix(tests): fix flaky time-based tests * test: replace time package with a mock Using a dedicated dependency would have been awesome, but i try to keep this repo with minimal dependencies
26 lines
483 B
YAML
26 lines
483 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
golangci:
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/setup-go@v6
|
|
with:
|
|
go-version: 1.18
|
|
stable: false
|
|
- uses: actions/checkout@v5
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|
|
with:
|
|
args: --timeout 120s --max-same-issues 50
|
|
|
|
- name: Bearer
|
|
uses: bearer/bearer-action@v2
|