From 71832bb0355c2afa5abc1d157b3c8f0cfc9f5f9d Mon Sep 17 00:00:00 2001 From: Patrick Stevens Date: Mon, 6 Dec 2021 19:52:52 +0000 Subject: [PATCH] Get tests working (#1) --- .github/workflows/dotnet-core.yaml | 2 ++ AdventOfCode2021/AdventOfCode2021.fsproj | 2 +- Inputs/{day1.txt => Day1.txt} | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename Inputs/{day1.txt => Day1.txt} (100%) diff --git a/.github/workflows/dotnet-core.yaml b/.github/workflows/dotnet-core.yaml index 78369c1..ff802be 100644 --- a/.github/workflows/dotnet-core.yaml +++ b/.github/workflows/dotnet-core.yaml @@ -23,5 +23,7 @@ jobs: run: dotnet build AdventOfCode2021.sln --configuration Release --no-restore - name: Test run: dotnet test AdventOfCode2021.sln --no-restore --verbosity normal + - name: Install Fantomas + run: dotnet tool restore - name: Run Fantomas run: dotnet tool run fantomas --check -r . diff --git a/AdventOfCode2021/AdventOfCode2021.fsproj b/AdventOfCode2021/AdventOfCode2021.fsproj index 0be8c92..68e16ba 100644 --- a/AdventOfCode2021/AdventOfCode2021.fsproj +++ b/AdventOfCode2021/AdventOfCode2021.fsproj @@ -10,7 +10,7 @@ - + diff --git a/Inputs/day1.txt b/Inputs/Day1.txt similarity index 100% rename from Inputs/day1.txt rename to Inputs/Day1.txt