bbgo_origin/.github/workflows/golang-lint.yml

23 lines
417 B
YAML
Raw Normal View History

name: golang-lint
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
2023-12-11 14:01:05 +00:00
- uses: actions/setup-go@v4
with:
2023-12-11 14:01:05 +00:00
go-version: 1.21
- uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
2023-12-11 14:01:05 +00:00
version: v1.54