Skip to content

feat: 向即将不支持的操作系统弹出不兼容警告 (#1073) #2545

feat: 向即将不支持的操作系统弹出不兼容警告 (#1073)

feat: 向即将不支持的操作系统弹出不兼容警告 (#1073) #2545

Workflow file for this run

name: Test & Lint
on:
push:
paths:
- '**.go'
- 'go.mod'
- '.github/workflows/test_and_lint.yml'
pull_request:
paths:
- '**.go'
- 'go.mod'
- '.github/workflows/test_and_lint.yml'
jobs:
test-and-lint:
name: Test & Lint
runs-on: ubuntu-latest
steps:
- name: Code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
cache: false
- run: go get
- run: go generate ./...
- run: go test -v -race ./...
- run: go vet ./...
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v6
if: github.event_name != 'pull_request'
with:
version: 'v1.61.0'
args: '--timeout 9999s'
skip-cache: true