Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

## Validation

- [ ] `dotnet build -c Release ./src`
- [ ] `dotnet format --verify-no-changes --verbosity detailed --no-restore ./src`
- [ ] `dotnet build -c Release ./Acmebot.slnx`
- [ ] `dotnet format --verify-no-changes --verbosity detailed --no-restore ./Acmebot.slnx`
- [ ] `az bicep build -f ./deploy/azuredeploy.bicep`
- [ ] Documentation updated if needed

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
az bicep install --version v${{ env.BICEP_VERSION }}
- name: Build project
run: dotnet build -c Release ./src
run: dotnet build -c Release ./Acmebot.slnx

- name: Lint C# code
run: dotnet format --verify-no-changes --verbosity detailed --no-restore ./src
run: dotnet format --verify-no-changes --verbosity detailed --no-restore ./Acmebot.slnx

- name: Lint Bicep template
run: az bicep build -f ./deploy/azuredeploy.bicep && git diff --exit-code --quiet
12 changes: 12 additions & 0 deletions Acmebot.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Solution>
<Folder Name="/src/">
<Project Path="src/Acmebot.Acme/Acmebot.Acme.csproj" />
<Project Path="src/Acmebot.App/Acmebot.App.csproj" />
</Folder>
<Folder Name="/samples/">
<Project Path="samples/Acmebot.Acme.Sample/Acmebot.Acme.Sample.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/Acmebot.Acme.Tests/Acmebot.Acme.Tests.csproj" />
</Folder>
</Solution>
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ cd acmebot
Run these commands from the repository root.

```bash
dotnet restore ./src
dotnet build -c Release ./src
dotnet format --verify-no-changes --verbosity detailed --no-restore ./src
dotnet restore ./Acmebot.slnx
dotnet build -c Release ./Acmebot.slnx
dotnet format --verify-no-changes --verbosity detailed --no-restore ./Acmebot.slnx
az bicep build -f ./deploy/azuredeploy.bicep
```

Expand Down
5 changes: 0 additions & 5 deletions src/Acmebot.slnx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Acmebot.Acme\Acmebot.Acme.csproj" />
<ProjectReference Include="..\..\src\Acmebot.Acme\Acmebot.Acme.csproj" />
</ItemGroup>

</Project>
Loading