diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index d7c6b6f..c5508b9 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -11,21 +11,10 @@ on: - master jobs: - test-powershell-5-1-windows-2019: - runs-on: windows-2019 - steps: - - uses: actions/checkout@v3 - - name: Powershell version - run: | - powershell -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - - name: Test - run: | - powershell -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' - test-powershell-5-1-windows-2022: runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Powershell version run: | powershell -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' @@ -36,64 +25,12 @@ jobs: ########## # Docker # ########## - test-powershell-6-0: - runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/powershell:6.0.2-ubuntu-16.04 - steps: - - uses: actions/checkout@v3 - - name: Powershell version - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - - name: Test - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' - - test-powershell-6-1: - runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/powershell:6.1.3-ubuntu-18.04 - steps: - - uses: actions/checkout@v3 - - name: Powershell version - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - - name: Test - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' - - test-powershell-6-2: - runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/powershell:6.2.4-ubuntu-18.04 - steps: - - uses: actions/checkout@v3 - - name: Powershell version - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - - name: Test - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' - - test-powershell-7-0: - runs-on: ubuntu-latest - container: - image: mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04 - steps: - - uses: actions/checkout@v3 - - name: Powershell version - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' - - name: Test - run: | - pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' - test-powershell-7-1: runs-on: ubuntu-latest container: image: mcr.microsoft.com/powershell:7.1.5-ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Powershell version run: | pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' @@ -106,7 +43,7 @@ jobs: container: image: mcr.microsoft.com/powershell:7.2.2-ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Powershell version run: | pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' @@ -119,7 +56,7 @@ jobs: container: image: mcr.microsoft.com/powershell:7.3-ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Powershell version run: | pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' @@ -132,7 +69,7 @@ jobs: container: image: mcr.microsoft.com/powershell:7.4-ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Powershell version run: | pwsh -NoLogo -NonInteractive -NoProfile -Command '$PSVersionTable' @@ -142,12 +79,7 @@ jobs: update-draft-release: needs: - - test-powershell-5-1-windows-2019 - test-powershell-5-1-windows-2022 - - test-powershell-6-0 - - test-powershell-6-1 - - test-powershell-6-2 - - test-powershell-7-0 - test-powershell-7-1 - test-powershell-7-2 - test-powershell-7-3 @@ -162,12 +94,7 @@ jobs: publish-draft-release: needs: - - test-powershell-5-1-windows-2019 - test-powershell-5-1-windows-2022 - - test-powershell-6-0 - - test-powershell-6-1 - - test-powershell-6-2 - - test-powershell-7-0 - test-powershell-7-1 - test-powershell-7-2 - test-powershell-7-3