Skip to content

feat: add request limits on accept, content-type, and content-length headers #6

feat: add request limits on accept, content-type, and content-length headers

feat: add request limits on accept, content-type, and content-length headers #6

Workflow file for this run

name: Fantomas check
on:
pull_request:
paths:
- 'samples/**'
- 'src/**'
- 'tests/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
fantomas-check:
name: Code format check
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Restore packages
run: dotnet tool restore
- name: Run Fantomas
run: dotnet fantomas --check src samples tests
- name: log failure
if: failure()
run: echo "Some files need formatting, please run 'dotnet fantomas src samples tests'"