Skip to content

Bit map filter

Bit map filter #871

Workflow file for this run

name: 'Code formatting'
on:
pull_request:
workflow_dispatch:
env:
BUILD_CONFIG: release
DOTNET_VERSION: 7
DOTNET_INSTALL_DIR: '~/.dotnet'
jobs:
spacing-check:
name: Check whitespaces
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Cache dotnet
id: cache-dotnet
uses: actions/cache@v3
with:
path: ${{ env.DOTNET_INSTALL_DIR }}
key: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}
restore-keys: ${{ runner.os }}-dotnet-${{ env.DOTNET_VERSION }}
- name: Set up .NET
if: ${{ steps.cache-dotnet.outputs.cache-hit != 'true' }}
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Check out repository
uses: actions/checkout@v3
with:
submodules: true
- name: Format
run: |
dotnet format whitespace src/Paprika.sln --verify-no-changes