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
15 changes: 15 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:
permissions:
id-token: write
contents: read
checks: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -36,6 +37,13 @@ jobs:
- name: Build and Test
run: ./Build.ps1
shell: pwsh
- name: Report Test Results
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test Results (Linux)
path: artifacts/**/*.trx
reporter: dotnet-trx
build-windows:
needs: build
strategy:
Expand Down Expand Up @@ -64,6 +72,13 @@ jobs:
- name: Build and Test
run: ./Build.ps1
shell: pwsh
- name: Report Test Results
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: Test Results (Windows)
path: artifacts/**/*.trx
reporter: dotnet-trx
- name: Sign packages
run: |-
foreach ($f in Get-ChildItem "./artifacts" -Filter "*.nupkg") {
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
permissions:
id-token: write
contents: read
checks: write
jobs:
build:
strategy:
Expand All @@ -26,6 +27,13 @@ jobs:
- name: Build and Test
run: ./Build.ps1
shell: pwsh
- name: Report Test Results
uses: dorny/test-reporter@v1
if: always()
with:
name: Test Results (Linux)
path: artifacts/**/*.trx
reporter: dotnet-trx
build-windows:
needs: build
strategy:
Expand Down Expand Up @@ -54,6 +62,18 @@ jobs:
- name: Build and Test
run: ./Build.ps1
shell: pwsh
- name: Report Test Results
uses: dorny/test-reporter@v1
if: always()
with:
name: Test Results (Windows)
path: artifacts/**/*.trx
reporter: dotnet-trx
- name: Generate SBOM
run: |
dotnet tool install --global Microsoft.Sbom.DotNetTool --version 1.2.0
sbom-tool generate -b artifacts -bc src/AutoMapper -pn AutoMapper -pv ${{ github.ref_name }} -ps LuckyPennySoftware -nsb https://automapper.io/sbom
shell: pwsh
- name: Sign packages
run: |-
foreach ($f in Get-ChildItem "./artifacts" -Filter "*.nupkg") {
Expand Down
Loading