Skip to content

Add AssemblyVersion attribute #20

Add AssemblyVersion attribute

Add AssemblyVersion attribute #20

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'"