diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index de416cb9..2f0043f7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,9 +15,9 @@ jobs: name: Prerequisites runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1') }} @@ -30,10 +30,10 @@ jobs: runs-on: windows-latest needs: prerequisites steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules id: cache-powershell-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1') }} @@ -46,7 +46,7 @@ jobs: run: build\vsts-validate.ps1 -TestGeneral $true -TestFunctions $false -Exclude "PSScriptAnalyzer.Tests.ps1" - name: Publish Test Results **/TEST-*.xml if: always() - uses: EnricoMi/publish-unit-test-result-action/composite@v2 + uses: EnricoMi/publish-unit-test-result-action/windows@v2 with: files: '**/TEST-*.xml' check_name: 'General Unit Tests Results' @@ -57,10 +57,10 @@ jobs: runs-on: windows-latest needs: prerequisites steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules id: cache-powershell-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1') }} @@ -73,7 +73,7 @@ jobs: run: build\vsts-validate-psscriptanalyzer.ps1 -TestPublic $true -TestInternal $false - name: Publish Test Results **/TEST-*.xml if: always() - uses: EnricoMi/publish-unit-test-result-action/composite@v2 + uses: EnricoMi/publish-unit-test-result-action/windows@v2 with: files: '**/TEST-*.xml' check_name: 'Public Functions Unit Tests Results' @@ -84,10 +84,10 @@ jobs: runs-on: windows-latest needs: Prerequisites steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules id: cache-powershell-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1') }} @@ -100,7 +100,7 @@ jobs: run: build\vsts-validate-psscriptanalyzer.ps1 -TestPublic $false -TestInternal $true - name: Publish Test Results **/TEST-*.xml if: always() - uses: EnricoMi/publish-unit-test-result-action/composite@v2 + uses: EnricoMi/publish-unit-test-result-action/windows@v2 with: files: '**/TEST-*.xml' check_name: 'Internal Functions Unit Tests Results' @@ -111,10 +111,10 @@ jobs: runs-on: windows-latest needs: prerequisites steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules id: cache-powershell-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1') }} @@ -127,7 +127,7 @@ jobs: run: build\vsts-validate.ps1 -TestGeneral $false -TestFunctions $true - name: Publish Test Results **/TEST-*.xml if: always() - uses: EnricoMi/publish-unit-test-result-action/composite@v2 + uses: EnricoMi/publish-unit-test-result-action/windows@v2 with: files: '**/TEST-*.xml' check_name: 'Individual Unit Tests Results' diff --git a/.github/workflows/update-generated-text.yml b/.github/workflows/update-generated-text.yml index 2d99e4da..11eaa17a 100644 --- a/.github/workflows/update-generated-text.yml +++ b/.github/workflows/update-generated-text.yml @@ -12,10 +12,10 @@ jobs: name: Generate text runs-on: windows-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Cache Powershell Modules id: cache-powershell-modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: C:\Users\runneradmin\Documents\WindowsPowerShell\Modules key: 20210527|${{ hashFiles('**/vsts-prerequisites.ps1', '**/buildtools.ps1') }} @@ -40,7 +40,7 @@ jobs: shell: powershell run: build\generate-findcommandindex.ps1 - name: Create a pull request for changes - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v7 with: commit-message: | 🤖 Fix best practice deviations diff --git a/.github/workflows/update-wiki.yml b/.github/workflows/update-wiki.yml index c6ad416f..5c0389ac 100644 --- a/.github/workflows/update-wiki.yml +++ b/.github/workflows/update-wiki.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Publish wiki folder to repository wiki uses: FH-Inway/github-wiki-publish-action@rsync