diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml new file mode 100644 index 0000000..7a594fe --- /dev/null +++ b/.github/workflows/copilot-setup-steps.yml @@ -0,0 +1,30 @@ +# DO NOT EDIT: generated by Faithlife/CodingGuidelines/conventions/faithlife-dotnet-library-workflow +name: "Copilot Setup Steps" + +# Automatically run the setup steps when they are changed to allow for easy validation, and +# allow manual testing through the repository's "Actions" tab +on: + workflow_dispatch: + push: + paths: + - .github/workflows/copilot-setup-steps.yml + pull_request: + paths: + - .github/workflows/copilot-setup-steps.yml + +jobs: + # The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot. + copilot-setup-steps: + runs-on: ubuntu-latest + + permissions: + contents: read + + steps: + - name: Check out code + uses: actions/checkout@v4 + - name: Install .NET + uses: actions/setup-dotnet@v4 + - name: Restore + run: .\build.ps1 restore + shell: pwsh diff --git a/tools/Build/Build.cs b/tools/Build/Build.cs index 7bb52c2..b004bf5 100644 --- a/tools/Build/Build.cs +++ b/tools/Build/Build.cs @@ -1,3 +1,4 @@ +// DO NOT EDIT: generated by Faithlife/CodingGuidelines/conventions/faithlife-dotnet-library-build return BuildRunner.Execute(args, build => build.AddDotNetTargets( new DotNetBuildSettings diff --git a/tools/Build/Build.csproj b/tools/Build/Build.csproj index dee0ca1..58b379d 100644 --- a/tools/Build/Build.csproj +++ b/tools/Build/Build.csproj @@ -1,3 +1,4 @@ +