CI: Update checkout gerrit change action to v0.6 07/72607/1
authorAnil Belur <abelur@linuxfoundation.org>
Sun, 4 Feb 2024 07:26:50 +0000 (17:26 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Sun, 4 Feb 2024 07:26:50 +0000 (17:26 +1000)
Add update python version 3.10, v3.8 is close to EOL
by Oct 2024.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I1b591f4bb300d1ff10f7f82571d7faa1865667d6

.github/workflow/gerrit-verify.yaml

index 2c90d97..72aa927 100644 (file)
@@ -67,7 +67,7 @@ jobs:
     needs: prepare
     runs-on: ubuntu-latest
     steps:
-      - uses: lfit/checkout-gerrit-change-action@v0.4
+      - uses: lfit/checkout-gerrit-change-action@v0.6
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           delay: "0s"
@@ -84,13 +84,13 @@ jobs:
     needs: prepare
     runs-on: ubuntu-latest
     steps:
-      - uses: lfit/checkout-gerrit-change-action@v0.4
+      - uses: lfit/checkout-gerrit-change-action@v0.6
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           delay: "0s"
       - uses: actions/setup-python@v4
         with:
-          python-version: "3.8"
+          python-version: "3.10"
       - name: Run static analysis and format checkers
         run: pipx run pre-commit run --all-files --show-diff-on-failure
 
@@ -110,11 +110,11 @@ jobs:
     steps:
       - name: Gerrit Checkout
         # yamllint disable-line rule:line-length
-        uses: lfit/checkout-gerrit-change-action@70360ca2f8bee3e6a15224d8a03f8e017b1ac91f # v0.4
+        uses: lfit/checkout-gerrit-change-action@v0.6
         with:
           gerrit-refspec: ${{ inputs.GERRIT_REFSPEC }}
           delay: "0s"
-      - name: Install Molecule dependencies.
+      - name: Install test dependencies.
         run: |
           python -m pip install --upgrade pip
           pip3 install ansible ansible-lint molecule-plugins[docker] docker