Skip to content
Open
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
12 changes: 6 additions & 6 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
- name: Cache/Restore NuGets
uses: actions/cache@v4
uses: actions/cache@v5
with:
path:
~/.nuget/packages
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
Write-Output "condition is set to $condition"
- name: Upload opencover test coverage file to artifacts
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: opencover-test-coverage-file
path: ${{ steps.dotnet-test.outputs.test-coverage-file }}
Expand All @@ -146,7 +146,7 @@ jobs:
-reportTypes:htmlInline
- name: Upload code coverage report to artifacts
if: steps.even-if-tests-fail.outputs.condition == 'true' && always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}
path: ${{ steps.code-coverage-report-generator.outputs.test-coverage-report-dir }}
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:
}
- name: Upload test results to artifacts
if: steps.even-if-tests-fail.outputs.condition == 'true' && always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: ${{ env.TEST_RESULTS_ARTIFACT_NAME }}
path: ${{ steps.dotnet-test.outputs.test-results-dir }}
Expand All @@ -220,7 +220,7 @@ jobs:
run: dotnet pack src/DotNet.Sdk.Extensions.Testing/DotNet.Sdk.Extensions.Testing.csproj -c Release --no-build
- name: Upload NuGets and symbols to artifacts
id: upload-nuget-artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: matrix.os == 'ubuntu-latest' # this job is on a matrix run but I only want to upload NuGets as artifacts once
with:
name: ${{ env.NUGET_ARTIFACT_NAME }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
- name: Cache/Restore NuGets
uses: actions/cache@v4
uses: actions/cache@v5
with:
path:
~/.nuget/packages
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
- name: Upload SARIF file
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: csharp-sarif
path: ${{runner.workspace}}/results/csharp.sarif
2 changes: 1 addition & 1 deletion .github/workflows/dispatch-commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Issues - dispatch commands
uses: peter-evans/slash-command-dispatch@v4
uses: peter-evans/slash-command-dispatch@v5
if: github.event.issue.state == 'open'
with:
issue-type: issue
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dotnet-format-apply-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
- name: Download dotnet format workflow info artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.DOTNET_FORMAT_WORKFLOW_INFO_ARTIFACT }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
WORKFLOW_URL: ${{ needs.on-push-check.outputs.workflow-url }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
- name: Prepare commit info
Expand All @@ -118,7 +118,7 @@ jobs:
run: |
git checkout -b ${{ steps.commit-info.outputs.branch-name }}
- name: Download dotnet format changed files
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.DOTNET_FORMAT_FILES_ARTIFACT }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Download dotnet format workflow info artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.DOTNET_FORMAT_WORKFLOW_INFO_ARTIFACT }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -223,15 +223,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
# The token gets saved and further git commands will use this token. See https://github.com/marketplace/actions/checkout#usage.
# The step that commits the dotnet format changes to the PR will make use of this token and if it's not a custom token then the
# PR triggers aren't executed again. See https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
token: ${{ secrets.PUBLIC_REPO_SCOPE_GH_TOKEN }}
- name: Download dotnet format changed files
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.DOTNET_FORMAT_FILES_ARTIFACT }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -287,7 +287,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
- name: Set status check data
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dotnet-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup .NET
uses: actions/setup-dotnet@v5
with:
dotnet-version: |
8.x
9.x
- name: Cache/Restore NuGets
uses: actions/cache@v4
uses: actions/cache@v5
with:
path:
~/.nuget/packages
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
Remove-Item -Force
- name: Upload files changed by dotnet format
if: steps.dotnet-format-parse.outputs.has-changes == 'true'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: dotnet-format-files
path: ${{ github.workspace }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
$bodyAsJson > ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }}
cat ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }}
- name: Upload workflow info
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: dotnet-format-workflow-info
path: ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/markdown-link-check-handle-result.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Download markdown link check workflow info artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.MLC_WORKFLOW_INFO_ARTIFACT }}
run_id: ${{ github.event.workflow_run.id }}
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
create-issue: ${{ steps.needs-issue-check.outputs.create-issue }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
- name: Check for open markdown link check issues
Expand Down Expand Up @@ -146,7 +146,7 @@ jobs:
WORKFLOW_URL: ${{ needs.workflow-info.outputs.workflow-url }}
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ env.WORKFLOW_HEAD_SHA }}
- name: Render issue body template
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/markdown-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Markdown link check
id: mlc-push
uses: gaurav-nelson/[email protected]
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
$bodyAsJson > ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }}
cat ${{ env.WORKFLOW_INFO_ARTIFACT_FILEPATH }}
- name: Upload workflow info
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
if: always()
with:
name: markdown-link-check-workflow-info
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/nuget-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get release info run id from PR
id: release-info
if: github.event_name == 'pull_request'
Expand All @@ -73,15 +73,15 @@ jobs:
Write-Output "run-id=$runId"
Write-Output "run-id=$runId" >> $env:GITHUB_OUTPUT
- name: Download NuGet release info artifact from PR
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
if: github.event_name == 'pull_request'
with:
name: nuget-release-info
run_id: ${{ steps.release-info.outputs.run-id }}
- name: Download NuGet release notes artifact from PR
id: download-release-notes
if: github.event_name == 'pull_request'
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: ${{ env.CUSTOM_RELEASE_NOTES_ARTIFACT_NAME }}
run_id: ${{ steps.release-info.outputs.run-id }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
STEP_OUTPUT: ${{ toJSON(steps.nuget-publish-info.outputs) }}
run: $env:STEP_OUTPUT
- name: Upload custom release notes
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: ${{ env.CUSTOM_RELEASE_NOTES_ARTIFACT_NAME }}
path: ${{ env.CUSTOM_RELEASE_NOTES_FILEPATH }}
Expand All @@ -170,12 +170,12 @@ jobs:
TESTING_EXTENSIONS_NUGET_BIN_FOLDER : ${{ github.workspace }}/DotNet.Sdk.Extensions.Testing/bin/Release
steps:
- name: Download NuGet package artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: nuget-packages-and-symbols
run_id: ${{ needs.workflow-args.outputs.nuget-package-run-id }}
- name: Download custom release notes artifact
uses: actions/download-artifact@v6
uses: actions/download-artifact@v7
with:
name: ${{ needs.workflow-args.outputs.custom-release-notes-artifact-name }}
- name: Create release notes file
Expand Down Expand Up @@ -289,7 +289,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup NuGet release flow info
id: set-nuget-release-flow-info
run: |
Expand Down Expand Up @@ -329,7 +329,7 @@ jobs:
$githubReleaseAsJson | Out-File github-release-info.md
Get-Content github-release-info.md
- name: Upload GitHub release info
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@v6
with:
name: github-release-info
path: github-release-info.md
14 changes: 7 additions & 7 deletions .github/workflows/nuget-release-flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Get release info run id
id: release-info
env:
Expand All @@ -59,7 +59,7 @@ jobs:
Write-Output "run-id=$runId"
Write-Output "run-id=$runId" >> $env:GITHUB_OUTPUT
- name: Download NuGet release info artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: nuget-release-info
run_id: ${{ steps.release-info.outputs.run-id }}
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
$headBranch = '${{ github.event.workflow_run.head_branch }}'
Write-Output "::notice::This workflows was triggered by the completion of '$workflowRunName' with run id '$workflowRunId' on the branch '$headBranch'."
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Set NuGet release flow info artifact source
id: nuget-release-flow-artifact
run: |
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
STEP_OUTPUT: ${{ toJSON(needs.release-flow-args.outputs) }}
run: $env:STEP_OUTPUT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Find NuGet release flow comment
uses: peter-evans/find-comment@v4
id: find-nuget-release-flow-comment
Expand Down Expand Up @@ -342,7 +342,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJSON(github) }}
run: $env:GITHUB_CONTEXT
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Render close issue comment template
uses: yukitsune/[email protected]
with:
Expand Down Expand Up @@ -382,9 +382,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Download GitHub release info artifact
uses: dawidd6/action-download-artifact@v11
uses: dawidd6/action-download-artifact@v12
with:
name: github-release-info
run_id: ${{ github.event.workflow_run.id }}
Expand Down
Loading
Loading