Skip to content

chore(linter): 忽略 embdings 的 linter 检查 #2

chore(linter): 忽略 embdings 的 linter 检查

chore(linter): 忽略 embdings 的 linter 检查 #2

Workflow file for this run

name: golangci-lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
go-version: [ '1.22', 'stable' ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --config=.golangci.yaml --timeout=10m