mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-11 17:47:20 +10:00
41 lines
801 B
YAML
41 lines
801 B
YAML
name: Lint
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- oldstable
|
|
- stable
|
|
- testing
|
|
- unstable
|
|
paths-ignore:
|
|
- '**.md'
|
|
- '.github/**'
|
|
- '!.github/workflows/lint.yml'
|
|
pull_request:
|
|
branches:
|
|
- oldstable
|
|
- stable
|
|
- testing
|
|
- unstable
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ^1.25
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|
|
with:
|
|
version: latest
|
|
args: --timeout=30m
|
|
install-mode: binary
|
|
verify: false
|