diff --git a/.github/AL-Go-Settings.json b/.github/AL-Go-Settings.json index 1b10b25ec8..245536a74b 100644 --- a/.github/AL-Go-Settings.json +++ b/.github/AL-Go-Settings.json @@ -1,7 +1,7 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "type": "PTE", - "templateUrl": "https://github.com/spetersenms/AL-Go@refactor", + "templateUrl": "https://github.com/spetersenms/AL-Go@CodeCoverage", "bcContainerHelperVersion": "preview", "runs-on": "windows-latest", "cacheImageName": "", @@ -91,7 +91,7 @@ ] }, "UpdateALGoSystemFilesEnvironment": "Official-Build", - "templateSha": "cb83cd64dc2708d08d46dd954e85384d30298d23", + "templateSha": "cc692bd45c8de646539fc3e12b270d6414ddfa35", "commitOptions": { "messageSuffix": "Related to AB#539394", "pullRequestAutoMerge": true, diff --git a/.github/workflows/CICD.yaml b/.github/workflows/CICD.yaml index 26468989ee..26bad32a0d 100644 --- a/.github/workflows/CICD.yaml +++ b/.github/workflows/CICD.yaml @@ -19,6 +19,7 @@ permissions: id-token: write pages: read security-events: write + packages: read env: workflowDepth: 2 @@ -31,6 +32,8 @@ jobs: runs-on: [ windows-latest ] outputs: telemetryScopeJson: ${{ steps.init.outputs.telemetryScopeJson }} + environmentsMatrixJson: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentsMatrixJson }} + environmentCount: ${{ steps.DetermineDeploymentEnvironments.outputs.EnvironmentCount }} deploymentEnvironmentsJson: ${{ steps.DetermineDeploymentEnvironments.outputs.DeploymentEnvironmentsJson }} generateALDocArtifact: ${{ steps.DetermineDeploymentEnvironments.outputs.GenerateALDocArtifact }} deployALDocArtifact: ${{ steps.DetermineDeploymentEnvironments.outputs.DeployALDocArtifact }} @@ -46,39 +49,29 @@ jobs: workflowDepth: ${{ steps.DetermineWorkflowDepth.outputs.WorkflowDepth }} powerPlatformSolutionFolder: ${{ steps.DeterminePowerPlatformSolutionFolder.outputs.powerPlatformSolutionFolder }} trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} - githubEnvironmentsJson: ${{ steps.GetGitHubEnvironments.outputs.GitHubEnvironments }} steps: - name: Dump Workflow Information - uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@refactor + uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@CodeCoverage with: shell: powershell - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: lfs: true - name: Initialize the workflow id: init - uses: spetersenms/AL-Go/Actions/WorkflowInitialize@refactor - with: - shell: powershell - - - name: Get GitHub Environments - id: GetGitHubEnvironments - uses: spetersenms/AL-Go/Actions/GetGitHubEnvironments@refactor - env: - GITHUB_TOKEN: ${{ github.token }} + uses: spetersenms/AL-Go/Actions/WorkflowInitialize@CodeCoverage with: shell: powershell - name: Read settings id: ReadSettings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell get: type,powerPlatformSolutionFolder,useGitSubmodules,trackALAlertsInGitHub - githubEnvironmentsJson: ${{ env.GithubEnvironments }} - name: Set AL Code Analysis Var output id: SetALCodeAnalysisVar @@ -89,7 +82,7 @@ jobs: - name: Read submodules token id: ReadSubmodulesToken if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -97,7 +90,7 @@ jobs: - name: Checkout Submodules if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: lfs: true submodules: ${{ env.useGitSubmodules }} @@ -110,7 +103,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: spetersenms/AL-Go/Actions/DetermineProjectsToBuild@refactor + uses: spetersenms/AL-Go/Actions/DetermineProjectsToBuild@CodeCoverage with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -123,7 +116,7 @@ jobs: - name: Determine Delivery Target Secrets id: DetermineDeliveryTargetSecrets - uses: spetersenms/AL-Go/Actions/DetermineDeliveryTargets@refactor + uses: spetersenms/AL-Go/Actions/DetermineDeliveryTargets@CodeCoverage with: shell: powershell projectsJson: '${{ steps.determineProjectsToBuild.outputs.ProjectsJson }}' @@ -131,7 +124,7 @@ jobs: - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -139,7 +132,7 @@ jobs: - name: Determine Delivery Targets id: DetermineDeliveryTargets - uses: spetersenms/AL-Go/Actions/DetermineDeliveryTargets@refactor + uses: spetersenms/AL-Go/Actions/DetermineDeliveryTargets@CodeCoverage env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -149,12 +142,11 @@ jobs: - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: spetersenms/AL-Go/Actions/DetermineDeploymentEnvironments@refactor + uses: spetersenms/AL-Go/Actions/DetermineDeploymentEnvironments@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: shell: powershell - githubEnvironmentsJson: ${{ env.GithubEnvironments }} getEnvironments: '*' type: 'CD' @@ -163,24 +155,24 @@ jobs: runs-on: [ windows-latest ] steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell get: templateUrl - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: 'ghTokenWorkflow' - name: Check for updates to AL-Go system files - uses: spetersenms/AL-Go/Actions/CheckForUpdates@refactor + uses: spetersenms/AL-Go/Actions/CheckForUpdates@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: @@ -246,20 +238,20 @@ jobs: name: Code Analysis Processing steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download artifacts - ErrorLogs - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 if: (success() || failure()) with: - pattern: '*-ErrorLogs-*' + pattern: '*-*ErrorLogs-*' path: '${{ github.workspace }}/ErrorLogs/' merge-multiple: true - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: spetersenms/AL-Go/Actions/ProcessALCodeAnalysisLogs@refactor + uses: spetersenms/AL-Go/Actions/ProcessALCodeAnalysisLogs@CodeCoverage with: shell: powershell @@ -285,21 +277,21 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download artifacts - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: '.artifacts' - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell - name: Determine ArtifactUrl id: determineArtifactUrl - uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@refactor + uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@CodeCoverage with: shell: powershell @@ -308,7 +300,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: spetersenms/AL-Go/Actions/BuildReferenceDocumentation@refactor + uses: spetersenms/AL-Go/Actions/BuildReferenceDocumentation@CodeCoverage with: shell: powershell artifacts: '.artifacts' @@ -326,48 +318,44 @@ jobs: Deploy: needs: [ Initialization, Build1, Build ] - if: (!cancelled()) && (needs.Build1.result == 'success' || needs.Build1.result == 'skipped') && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && needs.Initialization.outputs.environmentCount > 0 - strategy: - matrix: - include: ${{ fromJson(needs.Initialization.outputs.deploymentEnvironmentsJson).environments }} - fail-fast: false - runs-on: ${{ fromJson(matrix.runs-on) }} - name: Deploy to ${{ matrix.environmentName }} + if: (!cancelled()) && (needs.Build1.result == 'success' || needs.Build1.result == 'skipped') && (needs.Build.result == 'success' || needs.Build.result == 'skipped') && fromJson(needs.Initialization.outputs.deploymentEnvironmentsJson).environmentCount > 0 + strategy: ${{ fromJson(needs.Initialization.outputs.environmentsMatrixJson) }} + runs-on: ${{ fromJson(matrix.os) }} + name: Deploy to ${{ matrix.environment }} defaults: run: shell: ${{ matrix.shell }} environment: - name: ${{ matrix.environmentName }} + name: ${{ matrix.environment }} url: ${{ steps.Deploy.outputs.environmentUrl }} env: ALGoEnvSettings: ${{ vars.ALGoEnvironmentSettings }} - ALGoEnvName: ${{ matrix.environmentName }} + ALGoEnvName: ${{ matrix.environment }} steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download artifacts - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: '.artifacts' - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: ${{ matrix.shell }} get: type,powerPlatformSolutionFolder - githubEnvironmentsJson: ${{ needs.Initialization.outputs.githubEnvironmentsJson }} - name: EnvName id: envName run: | $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0 - $envName = '${{ matrix.environmentName }}'.split(' ')[0] + $envName = '${{ matrix.environment }}'.split(' ')[0] Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "envName=$envName" - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: ${{ matrix.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -375,24 +363,26 @@ jobs: - name: Deploy to Business Central id: Deploy - uses: spetersenms/AL-Go/Actions/Deploy@refactor + uses: spetersenms/AL-Go/Actions/Deploy@CodeCoverage env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: shell: ${{ matrix.shell }} - environmentName: ${{ matrix.environmentName }} + environmentName: ${{ matrix.environment }} artifactsFolder: '.artifacts' type: 'CD' + deploymentEnvironmentsJson: ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }} - name: Deploy to Power Platform if: env.type == 'PTE' && env.powerPlatformSolutionFolder != '' - uses: spetersenms/AL-Go/Actions/DeployPowerPlatform@refactor + uses: spetersenms/AL-Go/Actions/DeployPowerPlatform@CodeCoverage env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: shell: powershell - environmentName: ${{ matrix.environmentName }} + environmentName: ${{ matrix.environment }} artifactsFolder: '.artifacts' + deploymentEnvironmentsJson: ${{ needs.Initialization.outputs.deploymentEnvironmentsJson }} Deliver: needs: [ Initialization, Build1, Build ] @@ -405,28 +395,28 @@ jobs: name: Deliver to ${{ matrix.deliveryTarget }} steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Download artifacts - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: path: '.artifacts' - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} getSecrets: '${{ matrix.deliveryTarget }}Context' - name: Deliver - uses: spetersenms/AL-Go/Actions/Deliver@refactor + uses: spetersenms/AL-Go/Actions/Deliver@CodeCoverage env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -442,11 +432,11 @@ jobs: runs-on: [ windows-latest ] steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Finalize the workflow id: PostProcess - uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@refactor + uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/DeployReferenceDocumentation.yaml b/.github/workflows/DeployReferenceDocumentation.yaml index ddf1365202..30d1e3b871 100644 --- a/.github/workflows/DeployReferenceDocumentation.yaml +++ b/.github/workflows/DeployReferenceDocumentation.yaml @@ -26,28 +26,28 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Initialize the workflow id: init - uses: spetersenms/AL-Go/Actions/WorkflowInitialize@refactor + uses: spetersenms/AL-Go/Actions/WorkflowInitialize@CodeCoverage with: shell: powershell - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell - name: Determine ArtifactUrl id: determineArtifactUrl - uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@refactor + uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@CodeCoverage with: shell: powershell - name: Determine Deployment Environments id: DetermineDeploymentEnvironments - uses: spetersenms/AL-Go/Actions/DetermineDeploymentEnvironments@refactor + uses: spetersenms/AL-Go/Actions/DetermineDeploymentEnvironments@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: @@ -60,7 +60,7 @@ jobs: uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: Build Reference Documentation - uses: spetersenms/AL-Go/Actions/BuildReferenceDocumentation@refactor + uses: spetersenms/AL-Go/Actions/BuildReferenceDocumentation@CodeCoverage with: shell: powershell artifacts: 'latest' @@ -78,7 +78,7 @@ jobs: - name: Finalize the workflow if: always() - uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@refactor + uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/IncrementVersionNumber.yaml b/.github/workflows/IncrementVersionNumber.yaml index 29e84f9fc6..281214171b 100644 --- a/.github/workflows/IncrementVersionNumber.yaml +++ b/.github/workflows/IncrementVersionNumber.yaml @@ -48,33 +48,33 @@ jobs: pull-requests: write steps: - name: Dump Workflow Information - uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@refactor + uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@CodeCoverage with: shell: powershell - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Initialize the workflow id: init - uses: spetersenms/AL-Go/Actions/WorkflowInitialize@refactor + uses: spetersenms/AL-Go/Actions/WorkflowInitialize@CodeCoverage with: shell: powershell - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell - name: Validate Workflow Input if: ${{ github.event_name == 'workflow_dispatch' }} - uses: spetersenms/AL-Go/Actions/ValidateWorkflowInput@refactor + uses: spetersenms/AL-Go/Actions/ValidateWorkflowInput@CodeCoverage with: shell: powershell - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -82,7 +82,7 @@ jobs: useGhTokenWorkflowForPush: '${{ github.event.inputs.useGhTokenWorkflow }}' - name: Increment Version Number - uses: spetersenms/AL-Go/Actions/IncrementVersionNumber@refactor + uses: spetersenms/AL-Go/Actions/IncrementVersionNumber@CodeCoverage with: shell: powershell token: ${{ steps.ReadSecrets.outputs.TokenForPush }} @@ -93,7 +93,7 @@ jobs: - name: Finalize the workflow if: always() - uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@refactor + uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/PullRequestHandler.yaml b/.github/workflows/PullRequestHandler.yaml index 610f799c89..200098fc0a 100644 --- a/.github/workflows/PullRequestHandler.yaml +++ b/.github/workflows/PullRequestHandler.yaml @@ -18,6 +18,7 @@ permissions: id-token: write pull-requests: read security-events: write + packages: read env: workflowDepth: 2 @@ -29,7 +30,7 @@ jobs: if: (github.event.pull_request.base.repo.full_name != github.event.pull_request.head.repo.full_name) && (github.event_name != 'pull_request') runs-on: windows-latest steps: - - uses: spetersenms/AL-Go/Actions/VerifyPRChanges@refactor + - uses: spetersenms/AL-Go/Actions/VerifyPRChanges@CodeCoverage Initialization: needs: [ PregateCheck ] @@ -47,25 +48,25 @@ jobs: trackALAlertsInGitHub: ${{ steps.SetALCodeAnalysisVar.outputs.trackALAlertsInGitHub }} steps: - name: Dump Workflow Information - uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@refactor + uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@CodeCoverage with: shell: powershell - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: lfs: true ref: ${{ github.event_name == 'pull_request' && github.sha || format('refs/pull/{0}/merge', github.event.pull_request.number) }} - name: Initialize the workflow id: init - uses: spetersenms/AL-Go/Actions/WorkflowInitialize@refactor + uses: spetersenms/AL-Go/Actions/WorkflowInitialize@CodeCoverage with: shell: powershell - name: Read settings id: ReadSettings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell get: shortLivedArtifactsRetentionDays,trackALAlertsInGitHub @@ -84,7 +85,7 @@ jobs: - name: Determine Projects To Build id: determineProjectsToBuild - uses: spetersenms/AL-Go/Actions/DetermineProjectsToBuild@refactor + uses: spetersenms/AL-Go/Actions/DetermineProjectsToBuild@CodeCoverage with: shell: powershell maxBuildDepth: ${{ env.workflowDepth }} @@ -148,22 +149,22 @@ jobs: name: Code Analysis Processing steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: ref: ${{ format('refs/pull/{0}/head', github.event.pull_request.number) }} - name: Download artifacts - ErrorLogs - uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0 + uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 if: (success() || failure()) with: - pattern: '*-ErrorLogs-*' + pattern: '*-*ErrorLogs-*' path: '${{ github.workspace }}/ErrorLogs/' merge-multiple: true - name: Process AL Code Analysis Logs id: ProcessALCodeAnalysisLogs if: (success() || failure()) - uses: spetersenms/AL-Go/Actions/ProcessALCodeAnalysisLogs@refactor + uses: spetersenms/AL-Go/Actions/ProcessALCodeAnalysisLogs@CodeCoverage with: shell: powershell @@ -184,7 +185,7 @@ jobs: steps: - name: Pull Request Status Check id: PullRequestStatusCheck - uses: spetersenms/AL-Go/Actions/PullRequestStatusCheck@refactor + uses: spetersenms/AL-Go/Actions/PullRequestStatusCheck@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: @@ -192,7 +193,7 @@ jobs: - name: Finalize the workflow id: PostProcess - uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@refactor + uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@CodeCoverage if: success() || failure() env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Troubleshooting.yaml b/.github/workflows/Troubleshooting.yaml index be0e270cca..9514772f35 100644 --- a/.github/workflows/Troubleshooting.yaml +++ b/.github/workflows/Troubleshooting.yaml @@ -25,12 +25,12 @@ jobs: runs-on: [ windows-latest ] steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: lfs: true - name: Troubleshooting - uses: spetersenms/AL-Go/Actions/Troubleshooting@refactor + uses: spetersenms/AL-Go/Actions/Troubleshooting@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} diff --git a/.github/workflows/UpdateGitHubGoSystemFiles.yaml b/.github/workflows/UpdateGitHubGoSystemFiles.yaml index ae32e50529..c0c2cde9c0 100644 --- a/.github/workflows/UpdateGitHubGoSystemFiles.yaml +++ b/.github/workflows/UpdateGitHubGoSystemFiles.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: templateUrl: - description: Template Repository URL (current is https://github.com/spetersenms/AL-Go@refactor) + description: Template Repository URL (current is https://github.com/spetersenms/AL-Go@CodeCoverage) required: false default: '' downloadLatest: @@ -19,6 +19,26 @@ on: description: Specify a comma-separated list of branches to update. Wildcards are supported. The AL-Go settings will be read for every branch. Leave empty to update the current branch only. required: false default: '' + workflow_call: + inputs: + templateUrl: + description: Template Repository URL (current is https://github.com/spetersenms/AL-Go@CodeCoverage) + type: string + required: false + default: '' + downloadLatest: + description: Download latest from template repository + type: boolean + default: true + directCommit: + description: Direct Commit? + type: boolean + default: false + includeBranches: + description: Specify a comma-separated list of branches to update. Wildcards are supported. The AL-Go settings will be read for every branch. Leave empty to update the current branch only. + type: string + required: false + default: '' schedule: - cron: '25 12 * * 3' @@ -44,18 +64,18 @@ jobs: TemplateUrl: ${{ steps.DetermineTemplateUrl.outputs.TemplateUrl }} steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 - name: Read settings id: ReadSettings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell get: templateUrl - name: Get Workflow Multi-Run Branches id: GetBranches - uses: spetersenms/AL-Go/Actions/GetWorkflowMultiRunBranches@refactor + uses: spetersenms/AL-Go/Actions/GetWorkflowMultiRunBranches@CodeCoverage with: shell: powershell includeBranches: ${{ github.event.inputs.includeBranches }} @@ -85,30 +105,30 @@ jobs: steps: - name: Dump Workflow Information - uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@refactor + uses: spetersenms/AL-Go/Actions/DumpWorkflowInfo@CodeCoverage with: shell: powershell - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: ref: ${{ matrix.branch }} - name: Initialize the workflow id: init - uses: spetersenms/AL-Go/Actions/WorkflowInitialize@refactor + uses: spetersenms/AL-Go/Actions/WorkflowInitialize@CodeCoverage with: shell: powershell - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: powershell get: commitOptions - name: Read secrets id: ReadSecrets - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: powershell gitHubSecrets: ${{ toJson(secrets) }} @@ -120,8 +140,8 @@ jobs: downloadLatest: '${{ github.event.inputs.downloadLatest }}' run: | $errorActionPreference = "Stop"; $ProgressPreference = "SilentlyContinue"; Set-StrictMode -Version 2.0 - if('${{ github.event_name }}' -eq 'workflow_dispatch') { - Write-Host "Using inputs from workflow_dispatch event" + if('${{ github.event_name }}' -in 'workflow_dispatch', 'workflow_call') { + Write-Host "Using inputs from ${{ github.event_name }} event" $directCommit = $env:directCommit $downloadLatest = $env:downloadLatest } @@ -135,7 +155,7 @@ jobs: Add-Content -Encoding UTF8 -Path $env:GITHUB_ENV -Value "downloadLatest=$downloadLatest" - name: Update AL-Go system files - uses: spetersenms/AL-Go/Actions/CheckForUpdates@refactor + uses: spetersenms/AL-Go/Actions/CheckForUpdates@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: @@ -149,7 +169,7 @@ jobs: - name: Finalize the workflow if: always() - uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@refactor + uses: spetersenms/AL-Go/Actions/WorkflowPostProcess@CodeCoverage env: GITHUB_TOKEN: ${{ github.token }} with: diff --git a/.github/workflows/_BuildALGoProject.yaml b/.github/workflows/_BuildALGoProject.yaml index d85867dcda..db1536f4d8 100644 --- a/.github/workflows/_BuildALGoProject.yaml +++ b/.github/workflows/_BuildALGoProject.yaml @@ -82,6 +82,7 @@ permissions: actions: read contents: read id-token: write + packages: read env: ALGoOrgSettings: ${{ vars.ALGoOrgSettings }} @@ -97,13 +98,13 @@ jobs: name: ${{ inputs.projectName }} (${{ inputs.buildMode }}) steps: - name: Checkout - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: ref: ${{ inputs.checkoutRef }} lfs: true - name: Read settings - uses: spetersenms/AL-Go/Actions/ReadSettings@refactor + uses: spetersenms/AL-Go/Actions/ReadSettings@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -112,7 +113,7 @@ jobs: - name: Determine whether to build project id: DetermineBuildProject - uses: spetersenms/AL-Go/Actions/DetermineBuildProject@refactor + uses: spetersenms/AL-Go/Actions/DetermineBuildProject@CodeCoverage with: shell: ${{ inputs.shell }} skippedProjectsJson: ${{ inputs.skippedProjectsJson }} @@ -122,7 +123,7 @@ jobs: - name: Read secrets id: ReadSecrets if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && github.event_name != 'pull_request' - uses: spetersenms/AL-Go/Actions/ReadSecrets@refactor + uses: spetersenms/AL-Go/Actions/ReadSecrets@CodeCoverage with: shell: ${{ inputs.shell }} gitHubSecrets: ${{ toJson(secrets) }} @@ -130,7 +131,7 @@ jobs: - name: Checkout Submodules if: env.useGitSubmodules != 'false' && env.useGitSubmodules != '' - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: ref: ${{ inputs.checkoutRef }} lfs: true @@ -140,14 +141,14 @@ jobs: - name: Determine ArtifactUrl id: determineArtifactUrl if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@refactor + uses: spetersenms/AL-Go/Actions/DetermineArtifactUrl@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} - name: Cache Business Central Artifacts if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && env.useCompilerFolder == 'True' && inputs.useArtifactCache && env.artifactCacheKey - uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 + uses: actions/cache@8b402f58fbc84540c8b491a91e594a4576fec3d7 # v5.0.2 with: path: ${{ runner.temp }}/.artifactcache key: ${{ env.artifactCacheKey }} @@ -155,7 +156,7 @@ jobs: - name: Download Project Dependencies id: DownloadProjectDependencies if: steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: spetersenms/AL-Go/Actions/DownloadProjectDependencies@refactor + uses: spetersenms/AL-Go/Actions/DownloadProjectDependencies@CodeCoverage env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' with: @@ -166,7 +167,7 @@ jobs: baselineWorkflowRunId: ${{ inputs.baselineWorkflowRunId }} - name: Build - uses: spetersenms/AL-Go/Actions/RunPipeline@refactor + uses: spetersenms/AL-Go/Actions/RunPipeline@CodeCoverage if: steps.DetermineBuildProject.outputs.BuildIt == 'True' env: Secrets: '${{ steps.ReadSecrets.outputs.Secrets }}' @@ -184,8 +185,8 @@ jobs: - name: Sign id: sign - if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && inputs.signArtifacts && env.doNotSignApps == 'False' && (env.keyVaultCodesignCertificateName != '' || (fromJson(env.trustedSigning).Endpoint != '' && fromJson(env.trustedSigning).Account != '' && fromJson(env.trustedSigning).CertificateProfile != '')) - uses: spetersenms/AL-Go/Actions/Sign@refactor + if: steps.DetermineBuildProject.outputs.BuildIt == 'True' && inputs.signArtifacts && env.doNotSignApps == 'False' && (env.keyVaultCodesignCertificateName != '' || (fromJson(env.trustedSigning).Endpoint != '' && fromJson(env.trustedSigning).Account != '' && fromJson(env.trustedSigning).CertificateProfile != '')) && (hashFiles(format('{0}/.buildartifacts/Apps/*.app',inputs.project)) != '') + uses: spetersenms/AL-Go/Actions/Sign@CodeCoverage with: shell: ${{ inputs.shell }} azureCredentialsJson: '${{ fromJson(steps.ReadSecrets.outputs.Secrets).AZURE_CREDENTIALS }}' @@ -193,7 +194,7 @@ jobs: - name: Calculate Artifact names id: calculateArtifactsNames - uses: spetersenms/AL-Go/Actions/CalculateArtifactNames@refactor + uses: spetersenms/AL-Go/Actions/CalculateArtifactNames@CodeCoverage if: success() || failure() with: shell: ${{ inputs.shell }} @@ -202,7 +203,7 @@ jobs: suffix: ${{ inputs.artifactsNameSuffix }} - name: Publish artifacts - apps - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/Apps/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.AppsArtifactsName }} @@ -211,7 +212,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - dependencies - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: inputs.artifactsRetentionDays >= 0 && env.generateDependencyArtifact == 'True' && (hashFiles(format('{0}/.buildartifacts/Dependencies/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.DependenciesArtifactsName }} @@ -220,7 +221,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - test apps - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/TestApps/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.TestAppsArtifactsName }} @@ -229,7 +230,7 @@ jobs: retention-days: ${{ inputs.artifactsRetentionDays }} - name: Publish artifacts - build output - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (success() || failure()) && (hashFiles(format('{0}/BuildOutput.txt',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.BuildOutputArtifactsName }} @@ -237,7 +238,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - container event log - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (failure()) && (hashFiles(format('{0}/ContainerEventLog.evtx',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.ContainerEventLogArtifactsName }} @@ -245,15 +246,23 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - test results - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/TestResults.xml',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.TestResultsArtifactsName }} path: '${{ inputs.project }}/.buildartifacts/TestResults.xml' if-no-files-found: ignore + - name: Publish artifacts - code coverage + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/CodeCoverage/*',inputs.project)) != '') + with: + name: ${{ steps.calculateArtifactsNames.outputs.CodeCoverageArtifactsName }} + path: '${{ inputs.project }}/.buildartifacts/CodeCoverage/' + if-no-files-found: ignore + - name: Publish artifacts - bcpt test results - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/bcptTestResults.json',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.BcptTestResultsArtifactsName }} @@ -261,7 +270,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - page scripting test results - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/PageScriptingTestResults.xml',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.PageScriptingTestResultsArtifactsName }} @@ -269,7 +278,7 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - page scripting test result details - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/PageScriptingTestResultDetails/*',inputs.project)) != '') with: name: ${{ steps.calculateArtifactsNames.outputs.PageScriptingTestResultDetailsArtifactsName }} @@ -277,8 +286,8 @@ jobs: if-no-files-found: ignore - name: Publish artifacts - ErrorLogs - uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 - if: inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/ErrorLogs/*',inputs.project)) != '') && env.trackALAlertsInGitHub == 'True' + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 + if: (success() || failure()) && inputs.artifactsRetentionDays >= 0 && (hashFiles(format('{0}/.buildartifacts/ErrorLogs/*',inputs.project)) != '') && env.trackALAlertsInGitHub == 'True' with: name: ${{ steps.calculateArtifactsNames.outputs.ErrorLogsArtifactsName }} path: '${{ inputs.project }}/.buildartifacts/ErrorLogs/' @@ -288,7 +297,7 @@ jobs: - name: Analyze Test Results id: analyzeTestResults if: (success() || failure()) && env.doNotRunTests == 'False' - uses: spetersenms/AL-Go/Actions/AnalyzeTests@refactor + uses: spetersenms/AL-Go/Actions/AnalyzeTests@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -297,7 +306,7 @@ jobs: - name: Analyze BCPT Test Results id: analyzeTestResultsBCPT if: (success() || failure()) && env.doNotRunBcptTests == 'False' - uses: spetersenms/AL-Go/Actions/AnalyzeTests@refactor + uses: spetersenms/AL-Go/Actions/AnalyzeTests@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} @@ -306,15 +315,22 @@ jobs: - name: Analyze Page Scripting Test Results id: analyzeTestResultsPageScripting if: (success() || failure()) && env.doNotRunpageScriptingTests == 'False' - uses: spetersenms/AL-Go/Actions/AnalyzeTests@refactor + uses: spetersenms/AL-Go/Actions/AnalyzeTests@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} testType: "pageScripting" + - name: Build Code Coverage Summary + if: (success() || failure()) && (hashFiles(format('{0}/.buildartifacts/CodeCoverage/cobertura.xml',inputs.project)) != '') + uses: spetersenms/AL-Go/Actions/BuildCodeCoverageSummary@CodeCoverage + with: + shell: ${{ inputs.shell }} + project: ${{ inputs.project }} + - name: Cleanup if: always() && steps.DetermineBuildProject.outputs.BuildIt == 'True' - uses: spetersenms/AL-Go/Actions/PipelineCleanup@refactor + uses: spetersenms/AL-Go/Actions/PipelineCleanup@CodeCoverage with: shell: ${{ inputs.shell }} project: ${{ inputs.project }} diff --git a/build/projects/Apps (W1)/.AL-Go/cloudDevEnv.ps1 b/build/projects/Apps (W1)/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/Apps (W1)/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/Apps (W1)/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Apps (W1)/.AL-Go/localDevEnv.ps1 b/build/projects/Apps (W1)/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/Apps (W1)/.AL-Go/localDevEnv.ps1 +++ b/build/projects/Apps (W1)/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Apps (W1)/.AL-Go/settings.json b/build/projects/Apps (W1)/.AL-Go/settings.json index bd62f7cea2..dc49d57b41 100644 --- a/build/projects/Apps (W1)/.AL-Go/settings.json +++ b/build/projects/Apps (W1)/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "Apps (W1)", "appFolders": [ "../../../src/Apps/W1/*/App", diff --git a/build/projects/Business Foundation Tests/.AL-Go/cloudDevEnv.ps1 b/build/projects/Business Foundation Tests/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/Business Foundation Tests/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/Business Foundation Tests/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Business Foundation Tests/.AL-Go/localDevEnv.ps1 b/build/projects/Business Foundation Tests/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/Business Foundation Tests/.AL-Go/localDevEnv.ps1 +++ b/build/projects/Business Foundation Tests/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Business Foundation Tests/.AL-Go/settings.json b/build/projects/Business Foundation Tests/.AL-Go/settings.json index 7a5ed75888..dcb6b995c9 100644 --- a/build/projects/Business Foundation Tests/.AL-Go/settings.json +++ b/build/projects/Business Foundation Tests/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "Business Foundation Tests", "testFolders": [ "../../../src/Business Foundation/Test" diff --git a/build/projects/Performance Toolkit Tests/.AL-Go/cloudDevEnv.ps1 b/build/projects/Performance Toolkit Tests/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/Performance Toolkit Tests/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/Performance Toolkit Tests/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Performance Toolkit Tests/.AL-Go/localDevEnv.ps1 b/build/projects/Performance Toolkit Tests/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/Performance Toolkit Tests/.AL-Go/localDevEnv.ps1 +++ b/build/projects/Performance Toolkit Tests/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Performance Toolkit Tests/.AL-Go/settings.json b/build/projects/Performance Toolkit Tests/.AL-Go/settings.json index 86e6e0d379..24bda771d9 100644 --- a/build/projects/Performance Toolkit Tests/.AL-Go/settings.json +++ b/build/projects/Performance Toolkit Tests/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "Performance Toolkit Tests", "testFolders": [ "../../../src/Tools/Performance Toolkit/Test" diff --git a/build/projects/System Application Modules/.AL-Go/cloudDevEnv.ps1 b/build/projects/System Application Modules/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/System Application Modules/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/System Application Modules/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application Modules/.AL-Go/localDevEnv.ps1 b/build/projects/System Application Modules/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/System Application Modules/.AL-Go/localDevEnv.ps1 +++ b/build/projects/System Application Modules/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application Modules/.AL-Go/settings.json b/build/projects/System Application Modules/.AL-Go/settings.json index 3e407f21aa..354f892a3f 100644 --- a/build/projects/System Application Modules/.AL-Go/settings.json +++ b/build/projects/System Application Modules/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "System Application Modules", "appFolders": [ "../../../src/System Application/App/*", diff --git a/build/projects/System Application Tests/.AL-Go/cloudDevEnv.ps1 b/build/projects/System Application Tests/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/System Application Tests/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/System Application Tests/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application Tests/.AL-Go/localDevEnv.ps1 b/build/projects/System Application Tests/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/System Application Tests/.AL-Go/localDevEnv.ps1 +++ b/build/projects/System Application Tests/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application Tests/.AL-Go/settings.json b/build/projects/System Application Tests/.AL-Go/settings.json index 95443b09af..3697e46f3d 100644 --- a/build/projects/System Application Tests/.AL-Go/settings.json +++ b/build/projects/System Application Tests/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "System Application Tests", "testFolders": [ "../../../src/System Application/Test", diff --git a/build/projects/System Application/.AL-Go/cloudDevEnv.ps1 b/build/projects/System Application/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/System Application/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/System Application/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application/.AL-Go/localDevEnv.ps1 b/build/projects/System Application/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/System Application/.AL-Go/localDevEnv.ps1 +++ b/build/projects/System Application/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/System Application/.AL-Go/settings.json b/build/projects/System Application/.AL-Go/settings.json index f21259e7c0..e80d2468e0 100644 --- a/build/projects/System Application/.AL-Go/settings.json +++ b/build/projects/System Application/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "System Application, Business Foundation and Tools", "appFolders": [ "../../../src/System Application/App", diff --git a/build/projects/Test Stability Tools/.AL-Go/cloudDevEnv.ps1 b/build/projects/Test Stability Tools/.AL-Go/cloudDevEnv.ps1 index fdaef494a5..bc7502d7ad 100644 --- a/build/projects/Test Stability Tools/.AL-Go/cloudDevEnv.ps1 +++ b/build/projects/Test Stability Tools/.AL-Go/cloudDevEnv.ps1 @@ -141,12 +141,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 b/build/projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 index 4bee46ec02..f8c6bf8d89 100644 --- a/build/projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 +++ b/build/projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 @@ -154,12 +154,12 @@ Write-Host -ForegroundColor Yellow @' $tmpFolder = Join-Path ([System.IO.Path]::GetTempPath()) "$([Guid]::NewGuid().ToString())" New-Item -Path $tmpFolder -ItemType Directory -Force | Out-Null -$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt -$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder -$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder -$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/AL-Go-Helper.ps1' -folder $tmpFolder -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null -DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null +$GitHubHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Github-Helper.psm1' -folder $tmpFolder -notifyAuthenticatedAttempt +$ReadSettingsModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/ReadSettings.psm1' -folder $tmpFolder +$debugLoggingModule = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/DebugLogHelper.psm1' -folder $tmpFolder +$ALGoHelperPath = DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/AL-Go-Helper.ps1' -folder $tmpFolder +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json' -folder $tmpFolder | Out-Null +DownloadHelperFile -url 'https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/Environment.Packages.proj' -folder $tmpFolder | Out-Null Import-Module $GitHubHelperPath Import-Module $ReadSettingsModule diff --git a/build/projects/Test Stability Tools/.AL-Go/settings.json b/build/projects/Test Stability Tools/.AL-Go/settings.json index 1c2624ae36..9931c08d62 100644 --- a/build/projects/Test Stability Tools/.AL-Go/settings.json +++ b/build/projects/Test Stability Tools/.AL-Go/settings.json @@ -1,5 +1,5 @@ { - "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/refactor/Actions/.Modules/settings.schema.json", + "$schema": "https://raw.githubusercontent.com/spetersenms/AL-Go/CodeCoverage/Actions/.Modules/settings.schema.json", "projectName": "Test Stability Tools", "appFolders": [ "../../../src/Tools/Test Framework/Test Stability Tools/Prevent Metadata Updates"