mirror of
https://github.com/allankoechke/jwt-cpp.git
synced 2026-11-30 10:18:40 +00:00
* some manual fixes to obtain * fairly close enough * whitespace fixes * add comment * adding clang format + applied * add editorconfig (supported natively by github web editor) * apply linting to project * clean up CI workflows * zap vcpkg folder actual one is here https://github.com/microsoft/vcpkg/tree/master/ports/jwt-cpp * adding a logo * thin the lines in the pluses * use logo + more links to spec and examples * Create lint.yml * apply linting
24 lines
508 B
YAML
24 lines
508 B
YAML
name: Lint CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
paths:
|
|
- 'include/jwt-cpp/**.h'
|
|
- 'tests/**.cpp'
|
|
- '.github/workflows/lint.yml'
|
|
|
|
jobs:
|
|
cpp:
|
|
runs-on: ubuntu-20.04
|
|
strategy:
|
|
matrix:
|
|
files: ["include/jwt-cpp/*.h", "tests/**.cpp"]
|
|
steps:
|
|
- run: sudo apt-get install clang-format-10
|
|
- uses: actions/checkout@v2
|
|
- run: clang-format-10 -i ${{ matrix.files }}
|
|
- run: exit $(git status -s | wc -l)
|