Skip to content

Bump @typescript-eslint/eslint-plugin from 6.7.0 to 6.15.0 #368

Bump @typescript-eslint/eslint-plugin from 6.7.0 to 6.15.0

Bump @typescript-eslint/eslint-plugin from 6.7.0 to 6.15.0 #368

name: C code formatting
on:
pull_request:
push:
branches:
- main
- dev
defaults:
run:
shell: bash
working-directory: lib
jobs:
formatting-check:
name: C Expressive Formatting Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run clang-format style check for C/C++ programs.
uses: jidicula/[email protected]
with:
clang-format-version: '15'
lint:
name: C Lint Check
runs-on: ubuntu-latest
steps:
# we need this to get <assemblyline.h> to get linting right
- uses: 0xADE1A1DE/AssemblyLine@main
# we need this to get <node/node_api.h> to get linting right
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/checkout@v3
- name: C/C++ Lint Action
uses: cpp-linter/cpp-linter-action@v2
id: linter
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files-changed-only: false
thread-comments: true
style: file
version: 14
tidy-checks: ""
ignore: ".github"
extra-args: "-std=c17 -I./lib/src -I./lib/test -I./lib/src/include -DUSE_ASSEMBLYLINE"
- name: Fail fast?!
if: steps.linter.outputs.checks-failed > 0
run: |
echo "Some files failed the linting checks!"; exit 1