From f19ee2e0eeec06c5f20058106eeb3c2240965ac5 Mon Sep 17 00:00:00 2001 From: Leonard Jonathan Oh Date: Sat, 8 Oct 2022 19:15:15 +0000 Subject: [PATCH] Fix (ci): Remove deprecated `windows-2016` test job --- .github/workflows/ci-master-pr.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci-master-pr.yml b/.github/workflows/ci-master-pr.yml index 18f1373..e01aced 100644 --- a/.github/workflows/ci-master-pr.yml +++ b/.github/workflows/ci-master-pr.yml @@ -11,17 +11,6 @@ on: - master jobs: - test-powershell-5-1-windows-2016: - runs-on: windows-2016 - steps: - - uses: actions/checkout@v2 - - 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-2019: runs-on: windows-2019 steps: @@ -115,7 +104,7 @@ jobs: pwsh -NoLogo -NonInteractive -NoProfile -Command './test/test.ps1' update-draft-release: - needs: [test-powershell-5-1-windows-2016, test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2] + needs: [test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2] if: github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: @@ -125,7 +114,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} publish-to-psgallery: - needs: [test-powershell-5-1-windows-2016, test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2] + needs: [test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2] if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: @@ -155,7 +144,7 @@ jobs: NUGET_API_KEY=${NUGET_API_KEY} MODULE_VERSION=${MODULE_VERSION} pwsh -Command "build/PSModulePublisher/src/Invoke-Publish.ps1 -ModuleManifestPath src/$MODULE_NAME/$MODULE_NAME.psd1 -Repository PSGallery" publish-draft-release: - needs: [test-powershell-5-1-windows-2016, test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2, publish-to-psgallery] + needs: [test-powershell-5-1-windows-2019, test-powershell-6-0, test-powershell-6-1, test-powershell-6-1, test-powershell-7-0, test-powershell-7-1, test-powershell-7-2, publish-to-psgallery] if: startsWith(github.ref, 'refs/tags/') runs-on: ubuntu-latest steps: