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/workflows/benchmark-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
timeout-minutes: 45
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
with:
dotnet-version: '10.0.x'
- name: Run stable balanced comparison
Expand All @@ -27,7 +27,7 @@ jobs:
run: ./scripts/run-stable-benchmarks.sh
- name: Retain stable evidence
if: always()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: benchmark-stable-${{ runner.os }}-${{ runner.arch }}
path: ${{ runner.temp }}/domainmapper-stable/**
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
name: ${{ matrix.BENCHMARK_NAME }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- name: Run ${{ matrix.BENCHMARK_NAME }}
working-directory: ${{ env.BENCHMARKS_PATH }}
env:
Expand All @@ -78,7 +78,7 @@ jobs:
${{ env.BENCHMARKS_PATH }}/ComparisonMappingBenchmarks.cs
${{ env.BENCHMARK_RESULT_DIR }}/DomainMapper-vs-Mapperly-parity.json
- name: Restore baseline results
uses: actions/cache/restore@v5
uses: actions/cache/restore@v6
id: cache-baseline-results-restore
with:
path: ${{ env.BENCHMARK_BASELINE_DIR }}
Expand Down Expand Up @@ -129,13 +129,13 @@ jobs:
- name: Store baseline results
id: cache-baseline-results-save
if: success() && github.ref == 'refs/heads/main'
uses: actions/cache/save@v5
uses: actions/cache/save@v6
with:
path: ${{ env.BENCHMARK_BASELINE_DIR }}
key: ${{ steps.cache-baseline-results-restore.outputs.cache-primary-key }}
- name: Retain benchmark reports
if: always()
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: benchmark-${{ matrix.BENCHMARK_NAME }}
path: ${{ env.BENCHMARKS_PATH }}/artifacts/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet build
- uses: github/codeql-action/analyze@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
steps:
- run: echo "building ${{ inputs.version }} for ${{ inputs.environment }}"
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet tool restore
- run: dotnet build
- uses: actions/setup-node@v6
- uses: actions/setup-node@v7
with:
node-version-file: './docs/.node-version'
- run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet tool restore
- run: dotnet csharpier check .
# don't run dotnet format for whitespace formatting as this is done by csharpier
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
with:
content: ${{ steps.extract-release-notes.outputs.RELEASE_NOTES }}
- name: setup dotnet
uses: actions/setup-dotnet@v5
uses: actions/setup-dotnet@v6
- name: install dependencies
run: sudo apt update && sudo apt -y install zipmerge # zipmerge is used to merge the multi target nupkg
- name: build release
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet build /p:TreatWarningsAsErrors=true
- run: >-
dotnet test -m:1 --no-build --logger 'junit' /p:CollectCoverage=true
Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:
steps:
- uses: actions/checkout@v7
- run: sudo apt update && sudo apt -y install zipmerge # zipmerge is used to merge the multi target nupkg
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet tool restore
- run: RELEASE_VERSION="1.2.0-dev.$GITHUB_RUN_ID" ./build/package.sh
- uses: actions/upload-artifact@v7
Expand All @@ -78,7 +78,7 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet tool restore
- uses: actions/download-artifact@v8
with:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- run: apk add --no-cache bash icu-libs krb5-libs libgcc libintl libssl3 libstdc++ zlib
# delete global.json since we want to use custom versions here
- run: rm global.json
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
with:
dotnet-version: ${{ matrix.dotnet }}
- run: dotnet --list-sdks
Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
needs: package
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- run: dotnet run --project ./samples/DomainMapper.Sample

# run the same again with the real nuget without runtime assets
Expand All @@ -200,7 +200,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v5
- uses: actions/setup-dotnet@v6
- uses: actions/download-artifact@v8
with:
name: domainmapper-nupkg
Expand Down
Loading