Ensure visits can be counted #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: π₯ .NET Format check | |
on: | |
pull_request: | |
paths: | |
- '**.cs' | |
workflow_dispatch: | |
jobs: | |
main: | |
name: π₯ .NET Format check | |
runs-on: ubuntu-latest | |
env: | |
DOTNET_CLI_TELEMETRY_OPTOUT: 1 | |
DOTNET_NOLOGO: 1 | |
steps: | |
- name: π¦ Checkout | |
uses: actions/checkout@v4 | |
- name: π© Set up .NET environment | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: '6.0.x' | |
- name: π¦ Restore Dependencies | |
run: | | |
dotnet restore | |
dotnet msbuild -t:DownloadInkDependency -p:Configuration=Debug | |
- name: π¬ Verify style, whitespaces, and run diagnostics | |
run: dotnet format --verify-no-changes GodotInk.csproj |