From: Anil Belur Date: Sun, 4 Feb 2024 07:26:50 +0000 (+1000) Subject: CI: Update checkout gerrit change action to v0.6 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=9ffcad162313ae1d7a8e660c1776a2492908d719;p=ansible%2Froles%2Fdocker-install.git CI: Update checkout gerrit change action to v0.6 Add update python version 3.10, v3.8 is close to EOL by Oct 2024. Signed-off-by: Anil Belur Change-Id: I1b591f4bb300d1ff10f7f82571d7faa1865667d6 --- diff --git a/.github/workflow/gerrit-verify.yaml b/.github/workflow/gerrit-verify.yaml index 2c90d97..72aa927 100644 --- a/.github/workflow/gerrit-verify.yaml +++ b/.github/workflow/gerrit-verify.yaml @@ -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