Commit be81faf

Mathias Hermansson <mathias.hermansson@se.ibm.com>
2022-10-13 14:30:16
(chore): CI: Change actions/checkout version (#6)
1 parent 38e65c1
Changed files (1)
.github
workflows
.github/workflows/ci.yml
@@ -11,19 +11,19 @@ jobs:
     runs-on: windows-latest
     steps:
       - name: Checkout Bucket
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           fetch-depth: 2
           path: 'my_bucket'
       - name: Checkout Scoop
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           repository: ScoopInstaller/Scoop
           path: 'scoop_core'
       - name: Init and Test
         shell: powershell
         run: |
-          $env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
+          $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')"
           .\scoop_core\test\bin\init.ps1
           .\my_bucket\bin\test.ps1
   test_pwsh:
@@ -31,18 +31,18 @@ jobs:
     runs-on: windows-latest
     steps:
       - name: Checkout Bucket
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           fetch-depth: 2
           path: 'my_bucket'
       - name: Checkout Scoop
-        uses: actions/checkout@v2
+        uses: actions/checkout@main
         with:
           repository: ScoopInstaller/Scoop
           path: 'scoop_core'
       - name: Init and Test
         shell: pwsh
         run: |
-          $env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
+          $env:SCOOP_HOME="$(Convert-Path '.\scoop_core')"
           .\scoop_core\test\bin\init.ps1
           .\my_bucket\bin\test.ps1