diff --git a/.github/workflows/build-cross-platform.yml b/.github/workflows/build-cross-platform.yml index 23a6d71b1..3cb90435c 100644 --- a/.github/workflows/build-cross-platform.yml +++ b/.github/workflows/build-cross-platform.yml @@ -38,7 +38,7 @@ jobs: name: macos-latest runs-on: macos-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: 'Cache: .fallout/temp, ~/.nuget/packages' @@ -49,7 +49,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -60,7 +60,7 @@ jobs: name: windows-latest runs-on: windows-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: 'Cache: .fallout/temp, ~/.nuget/packages' @@ -71,7 +71,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 474bd9792..e0b220c8c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} @@ -49,7 +49,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' diff --git a/.github/workflows/publish-packages-preview.yml b/.github/workflows/publish-packages-preview.yml index a2c24d615..8fd746611 100644 --- a/.github/workflows/publish-packages-preview.yml +++ b/.github/workflows/publish-packages-preview.yml @@ -49,7 +49,7 @@ jobs: name: github-packages url: https://github.com/Fallout-build/Fallout/packages steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 # Nerdbank.GitVersioning needs full history - name: 'Cache: .fallout/temp, ~/.nuget/packages' @@ -62,7 +62,7 @@ jobs: restore-keys: | ${{ runner.os }}-preview- - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' diff --git a/.github/workflows/publish-packages-release.yml b/.github/workflows/publish-packages-release.yml index 1eb5ed6cf..1203303ac 100644 --- a/.github/workflows/publish-packages-release.yml +++ b/.github/workflows/publish-packages-release.yml @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'push' steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 - name: 'Verify tag is reachable from a production branch' @@ -97,7 +97,7 @@ jobs: # Run when validate-ref succeeded (tag push) OR was skipped (workflow_dispatch). if: always() && (needs.validate-ref.result == 'success' || needs.validate-ref.result == 'skipped') steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: ref: ${{ inputs.tag || github.ref }} fetch-depth: 0 # Nerdbank.GitVersioning needs full history @@ -111,7 +111,7 @@ jobs: restore-keys: | ${{ runner.os }}-release- - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -145,7 +145,7 @@ jobs: url: https://www.nuget.org/profiles/Fallout steps: - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: '10.x' - name: 'Download: package artifacts' @@ -186,7 +186,7 @@ jobs: url: https://github.com/Fallout-build/Fallout/packages steps: - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: dotnet-version: '10.x' - name: 'Download: package artifacts' @@ -224,7 +224,7 @@ jobs: name: github-releases url: https://github.com/Fallout-build/Fallout/releases steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Download: package artifacts' uses: actions/download-artifact@v4 with: diff --git a/docs/05-cicd/github-actions.md b/docs/05-cicd/github-actions.md index 54adcbdeb..cf6ce4913 100644 --- a/docs/05-cicd/github-actions.md +++ b/docs/05-cicd/github-actions.md @@ -86,9 +86,9 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -121,7 +121,7 @@ Target Pack => _ => _ Generated output ```yaml title=".github/workflows/continuous.yml" -- uses: actions/upload-artifact@v5 +- uses: actions/upload-artifact@v7 with: name: packages path: output/packages diff --git a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs index 89ab0f9c1..42d9058fa 100644 --- a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs +++ b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsArtifactStep.cs @@ -13,7 +13,7 @@ public class GitHubActionsArtifactStep : GitHubActionsStep public override void Write(CustomFileWriter writer) { writer.WriteLine("- name: " + $"Publish: {Name}".SingleQuoteYaml()); - writer.WriteLine(" uses: actions/upload-artifact@v5"); + writer.WriteLine(" uses: actions/upload-artifact@v7"); using (writer.Indent()) { diff --git a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs index 6c7c06e66..eef71ac2d 100644 --- a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs +++ b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsCheckoutStep.cs @@ -28,7 +28,7 @@ public class GitHubActionsCheckoutStep : GitHubActionsStep public override void Write(CustomFileWriter writer) { - writer.WriteLine("- uses: actions/checkout@v6"); + writer.WriteLine("- uses: actions/checkout@v7"); if (Submodules.HasValue || Lfs.HasValue || FetchDepth.HasValue || Progress.HasValue || !Filter.IsNullOrWhiteSpace() || !Ref.IsNullOrWhiteSpace() || CheckoutWith.Length > 0) diff --git a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs index 1b774eefb..289566258 100644 --- a/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs +++ b/src/Fallout.Common/CI/GitHubActions/Configuration/GitHubActionsRunStep.cs @@ -14,7 +14,7 @@ public override void Write(CustomFileWriter writer) writer.WriteLine("- name: 'Setup: .NET SDK'"); using (writer.Indent()) { - writer.WriteLine("uses: actions/setup-dotnet@v4"); + writer.WriteLine("uses: actions/setup-dotnet@v6"); writer.WriteLine("with:"); using (writer.Indent()) { diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-ref_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-ref_attribute=GitHubActionsAttribute.verified.txt index dc14198ea..1b0865604 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-ref_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-ref_attribute=GitHubActionsAttribute.verified.txt @@ -26,7 +26,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }} ref: ${{ github.head_ref }} @@ -38,7 +38,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -46,17 +46,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-only_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-only_attribute=GitHubActionsAttribute.verified.txt index 0cafe9aa3..8025557af 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-only_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-only_attribute=GitHubActionsAttribute.verified.txt @@ -23,7 +23,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: path: src - name: 'Cache: .fallout/temp, ~/.nuget/packages' @@ -34,7 +34,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -42,17 +42,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-sparse_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-sparse_attribute=GitHubActionsAttribute.verified.txt index f6d1be72b..28d6a37c1 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-sparse_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with-sparse_attribute=GitHubActionsAttribute.verified.txt @@ -23,7 +23,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: sparse-checkout: | src @@ -36,7 +36,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -44,17 +44,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with_attribute=GitHubActionsAttribute.verified.txt index 1a694dd61..6d9fbad93 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=checkout-with_attribute=GitHubActionsAttribute.verified.txt @@ -23,7 +23,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: fetch-depth: 0 token: ${{ secrets.CI_PAT }} @@ -37,7 +37,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -45,17 +45,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell-with-permissions_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell-with-permissions_attribute=GitHubActionsAttribute.verified.txt index 6b8e51885..9a05e007d 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell-with-permissions_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell-with-permissions_attribute=GitHubActionsAttribute.verified.txt @@ -35,7 +35,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -44,7 +44,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -52,17 +52,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell_attribute=GitHubActionsAttribute.verified.txt index 858b288bf..5dee5aa3b 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=default-shell_attribute=GitHubActionsAttribute.verified.txt @@ -27,7 +27,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -36,7 +36,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -44,17 +44,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=detailed-triggers_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=detailed-triggers_attribute=GitHubActionsAttribute.verified.txt index 177cc92ba..26ba5906d 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=detailed-triggers_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=detailed-triggers_attribute=GitHubActionsAttribute.verified.txt @@ -60,7 +60,7 @@ jobs: name: environment-name url: environment-url steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: submodules: recursive lfs: true @@ -75,7 +75,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -86,19 +86,19 @@ jobs: OptionalInput: ${{ github.event.inputs.OptionalInput }} RequiredInput: ${{ github.event.inputs.RequiredInput }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: coverage-report.zip @@ -114,7 +114,7 @@ jobs: name: environment-name url: environment-url steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: submodules: recursive lfs: true @@ -129,7 +129,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -140,19 +140,19 @@ jobs: OptionalInput: ${{ github.event.inputs.OptionalInput }} RequiredInput: ${{ github.event.inputs.RequiredInput }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: coverage-report.zip @@ -168,7 +168,7 @@ jobs: name: environment-name url: environment-url steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: submodules: recursive lfs: true @@ -183,7 +183,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -194,19 +194,19 @@ jobs: OptionalInput: ${{ github.event.inputs.OptionalInput }} RequiredInput: ${{ github.event.inputs.RequiredInput }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 if: success() || failure() with: name: coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-input-scoping_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-input-scoping_attribute=GitHubActionsAttribute.verified.txt index 966be79df..887f44c8c 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-input-scoping_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-input-scoping_attribute=GitHubActionsAttribute.verified.txt @@ -28,7 +28,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -37,7 +37,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -47,17 +47,17 @@ jobs: env: ForPublishOnly: ${{ github.event.inputs.ForPublishOnly }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-legacy-plus-typed_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-legacy-plus-typed_attribute=GitHubActionsAttribute.verified.txt index c9ff4453b..5d97edd17 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-legacy-plus-typed_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-legacy-plus-typed_attribute=GitHubActionsAttribute.verified.txt @@ -36,7 +36,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -45,7 +45,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -57,17 +57,17 @@ jobs: LegacyRequired: ${{ github.event.inputs.LegacyRequired }} TypedFlag: ${{ github.event.inputs.TypedFlag }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-typed-inputs_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-typed-inputs_attribute=GitHubActionsAttribute.verified.txt index 8b4c79c1e..7729b88f6 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-typed-inputs_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=dispatch-typed-inputs_attribute=GitHubActionsAttribute.verified.txt @@ -51,7 +51,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -60,7 +60,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -74,17 +74,17 @@ jobs: Channel: ${{ github.event.inputs.Channel }} Target: ${{ github.event.inputs.Target }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block-with-permissions_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block-with-permissions_attribute=GitHubActionsAttribute.verified.txt index 403a9536f..247e97930 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block-with-permissions_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block-with-permissions_attribute=GitHubActionsAttribute.verified.txt @@ -35,7 +35,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -44,7 +44,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -52,17 +52,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block_attribute=GitHubActionsAttribute.verified.txt index c2e2b5b9b..c501a3746 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=env-block_attribute=GitHubActionsAttribute.verified.txt @@ -29,7 +29,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -38,7 +38,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -46,17 +46,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=runs-on-labels_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=runs-on-labels_attribute=GitHubActionsAttribute.verified.txt index cdd05c2ca..cc5de92ba 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=runs-on-labels_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=runs-on-labels_attribute=GitHubActionsAttribute.verified.txt @@ -23,7 +23,7 @@ jobs: name: ubuntu-latest runs-on: [self-hosted, linux, x64] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -32,7 +32,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -40,17 +40,17 @@ jobs: - name: 'Run: Test' run: dotnet fallout Test - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=simple-triggers_attribute=GitHubActionsAttribute.verified.txt b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=simple-triggers_attribute=GitHubActionsAttribute.verified.txt index 35a28a205..f5143372e 100644 --- a/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=simple-triggers_attribute=GitHubActionsAttribute.verified.txt +++ b/tests/Fallout.Common.Specs/CI/ConfigurationGenerationSpecs.Test_testName=simple-triggers_attribute=GitHubActionsAttribute.verified.txt @@ -27,7 +27,7 @@ jobs: name: macos-latest runs-on: macos-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -36,7 +36,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -47,17 +47,17 @@ jobs: ApiKey: ${{ secrets.API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip @@ -65,7 +65,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -74,7 +74,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -85,17 +85,17 @@ jobs: ApiKey: ${{ secrets.API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip @@ -103,7 +103,7 @@ jobs: name: windows-latest runs-on: windows-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Cache: .fallout/temp, ~/.nuget/packages' uses: actions/cache@v4 with: @@ -112,7 +112,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -123,17 +123,17 @@ jobs: ApiKey: ${{ secrets.API_KEY }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip diff --git a/tests/Fallout.Common.Specs/CI/GitHubActionsArtifactStepSpecs.Name_with_an_apostrophe_is_yaml_escaped.verified.txt b/tests/Fallout.Common.Specs/CI/GitHubActionsArtifactStepSpecs.Name_with_an_apostrophe_is_yaml_escaped.verified.txt index 66a15cb24..f01377429 100644 --- a/tests/Fallout.Common.Specs/CI/GitHubActionsArtifactStepSpecs.Name_with_an_apostrophe_is_yaml_escaped.verified.txt +++ b/tests/Fallout.Common.Specs/CI/GitHubActionsArtifactStepSpecs.Name_with_an_apostrophe_is_yaml_escaped.verified.txt @@ -1,5 +1,5 @@ - name: 'Publish: Bob''s Build' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: Bob's Build path: out diff --git a/tests/Fallout.Common.Specs/CI/GitHubActionsStepInjectionSpecs.Rich_injection_renders_expected_yaml.verified.txt b/tests/Fallout.Common.Specs/CI/GitHubActionsStepInjectionSpecs.Rich_injection_renders_expected_yaml.verified.txt index d3720ac7d..5df89c7df 100644 --- a/tests/Fallout.Common.Specs/CI/GitHubActionsStepInjectionSpecs.Rich_injection_renders_expected_yaml.verified.txt +++ b/tests/Fallout.Common.Specs/CI/GitHubActionsStepInjectionSpecs.Rich_injection_renders_expected_yaml.verified.txt @@ -23,7 +23,7 @@ jobs: name: ubuntu-latest runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: 'Setup Node' uses: actions/setup-node@v4 with: @@ -36,7 +36,7 @@ jobs: ~/.nuget/packages key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj', '**/Directory.Packages.props') }} - name: 'Setup: .NET SDK' - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v6 with: global-json-file: global.json - name: 'Restore: dotnet tools' @@ -47,17 +47,17 @@ jobs: uses: github/codeql-action/analyze@v3 if: github.ref == 'refs/heads/main' - name: 'Publish: src' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: src path: src - name: 'Publish: test-results' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: test-results path: output/test-results - name: 'Publish: coverage-report.zip' - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v7 with: name: coverage-report.zip path: output/coverage-report.zip