Skip to content

Commit

Permalink
Merge test changes to main (#299)
Browse files Browse the repository at this point in the history
Automatically created pull-request in order to merge changes that were
recently pushed to the test branch, back to main
  • Loading branch information
hwinther authored Oct 10, 2024
2 parents fe04193 + 58658cb commit 06b82f8
Show file tree
Hide file tree
Showing 14 changed files with 459 additions and 147 deletions.
4 changes: 3 additions & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
directories:
- "/"
- "/.github/actions/*/"
open-pull-requests-limit: 20
target-branch: "dev"
schedule:
Expand Down
23 changes: 23 additions & 0 deletions .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,29 @@ jobs:
comment-identifier: "${{ env.WORKFLOW_SHORT_NAME }}-CodeCoverageSummary"
comment-content: ${{ steps.code-coverage-summary.outputs.markdown }}

- name: Stryker
id: stryker
run: |
dotnet stryker --reporter "html" --reporter "json" --reporter "markdown" --solution Backend.sln --output StrykerOutput
cp -r StrykerOutput/reports StrykerReports
cat StrykerReports/mutation-report.md >> $GITHUB_STEP_SUMMARY
echo "markdown<<EOF" >> $GITHUB_OUTPUT
cat StrykerReports/mutation-report.md >> $GITHUB_OUTPUT
echo "EOF" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: StrykerReports
path: ${{ env.BACKEND_SOLUTION_PATH }}/StrykerReports

- name: "Create or Update PR Comment"
uses: im-open/[email protected]
if: ${{ always() && github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
comment-identifier: "${{ env.WORKFLOW_SHORT_NAME }}-Stryker"
comment-content: ${{ steps.stryker.outputs.markdown }}

- name: Inspect code
uses: muno92/resharper_inspectcode@v1
if: ${{ github.event_name == 'pull_request' }}
Expand Down
6 changes: 3 additions & 3 deletions src/backend/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "8.0.7",
"version": "8.0.10",
"commands": [
"dotnet-ef"
],
"rollForward": false
},
"dotnet-reportgenerator-globaltool": {
"version": "5.3.9",
"version": "5.3.11",
"commands": [
"reportgenerator"
],
"rollForward": false
},
"swashbuckle.aspnetcore.cli": {
"version": "6.7.3",
"version": "6.8.0",
"commands": [
"swagger"
],
Expand Down
4 changes: 2 additions & 2 deletions src/backend/WebApi/WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.7.3" />
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.7.3" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.8.0" />
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.8.0" />
</ItemGroup>

<ItemGroup>
Expand Down
32 changes: 16 additions & 16 deletions src/backend/WebApi/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,21 @@
},
"Swashbuckle.AspNetCore": {
"type": "Direct",
"requested": "[6.7.3, )",
"resolved": "6.7.3",
"contentHash": "PYTm/M5YrkEUHmguhj6vF1DshG2deKMMcsnhKet1BkcKzZHNX/VVQady0T/jNpXrtxhLR3vB10hWhONF1Nbglw==",
"requested": "[6.8.0, )",
"resolved": "6.8.0",
"contentHash": "0Mk8/31efsxFNVeFzLjUVYDFTjYKtEi2UCSaI9+HIkSQ/duu++28gfq1+gwWDRLHkRMOkUgoWMLe0UoayAZySA==",
"dependencies": {
"Microsoft.Extensions.ApiDescription.Server": "6.0.5",
"Swashbuckle.AspNetCore.Swagger": "6.7.3",
"Swashbuckle.AspNetCore.SwaggerGen": "6.7.3",
"Swashbuckle.AspNetCore.SwaggerUI": "6.7.3"
"Swashbuckle.AspNetCore.Swagger": "6.8.0",
"Swashbuckle.AspNetCore.SwaggerGen": "6.8.0",
"Swashbuckle.AspNetCore.SwaggerUI": "6.8.0"
}
},
"Swashbuckle.AspNetCore.ReDoc": {
"type": "Direct",
"requested": "[6.7.3, )",
"resolved": "6.7.3",
"contentHash": "TaefpygyLmCAT6AESpBy2yWnUisfSDhLxXhz1u9T0QVXb7wiPmuoRpUcox4Yy/djPMfXczyHsj4uq7iFxP9/vg=="
"requested": "[6.8.0, )",
"resolved": "6.8.0",
"contentHash": "+1/onHsvCrQWi0ShlMth/Rn0QXVwBs32G52lacVe50V8TEGhs3Aml4byNJyb/VMG5Fx+S+camhsfL/VQMWAkiA=="
},
"Azure.Core": {
"type": "Transitive",
Expand Down Expand Up @@ -613,24 +613,24 @@
},
"Swashbuckle.AspNetCore.Swagger": {
"type": "Transitive",
"resolved": "6.7.3",
"contentHash": "plNVrOpup/UCIP0aSE5cznIzXMC17EOOqIceWqhP829evEAUwTomCc+1TPy2xK2E+OilYcYEdUus3rOUMjjm/g==",
"resolved": "6.8.0",
"contentHash": "f6Utk5eLFWRJbDFIqHGeb9Kb+w/9b+z0WIJUIAPY4hP263MPXI8ZbejdOktS10gvCLaQ3YCFl6fAVlCIUFKsRQ==",
"dependencies": {
"Microsoft.OpenApi": "1.6.14"
}
},
"Swashbuckle.AspNetCore.SwaggerGen": {
"type": "Transitive",
"resolved": "6.7.3",
"contentHash": "kvjGd+g85YFZqyEQZSBUCPtEDDCZsiPPYcjgBN6si3C3oik2c9d7Zlq4PIm07pgY/QmBMgyFOVEzHbks6a398w==",
"resolved": "6.8.0",
"contentHash": "bmWglb1jeKD+tUE56wL2zE6lnlpJZbgDLXMlEOgl8xTqEs9g8C6eNNKGuMcnfxFt0CgZaBClaDqad2JDjZW5Fw==",
"dependencies": {
"Swashbuckle.AspNetCore.Swagger": "6.7.3"
"Swashbuckle.AspNetCore.Swagger": "6.8.0"
}
},
"Swashbuckle.AspNetCore.SwaggerUI": {
"type": "Transitive",
"resolved": "6.7.3",
"contentHash": "exXUT9h++OU70jTCfQALiHzeBthqL7c5IFQm+aa67Hi/6X945t32NtOMO16TaRn44xFXdqMZ2CyMbgnTmx+w2A=="
"resolved": "6.8.0",
"contentHash": "tG1FL+aFmmuqZ3eKVHgvSFvrzJoKbDzOmvK8YACucfbIBYfHQd45uQ18MhMF3xDaR46qdggdaHGqmfYo+nxwrw=="
},
"System.CodeDom": {
"type": "Transitive",
Expand Down
Loading

0 comments on commit 06b82f8

Please sign in to comment.