Skip to content

fix: 增加对N的判断,避免N为负数或0导致不通过 #10956

fix: 增加对N的判断,避免N为负数或0导致不通过

fix: 增加对N的判断,避免N为负数或0导致不通过 #10956

name: clang-format-linter
on:
push:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
pull_request:
paths:
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
source: '.'
extensions: 'c,cpp,java'
clangFormatVersion: 16