From c27a3b828587fd9eabed7452b34364a6f7168f24 Mon Sep 17 00:00:00 2001 From: Kyr Shatskyy Date: Fri, 2 Aug 2024 19:53:55 +0200 Subject: [PATCH] workflows: use latest checkout and setup-python actions Signed-off-by: Kyr Shatskyy --- .github/workflows/ci.yml | 4 ++-- .github/workflows/dependencies.yml | 6 +++--- .github/workflows/dev_container.yml | 2 +- .github/workflows/integration.yml | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1af4b3843..2998aa890 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,12 +22,12 @@ jobs: - os: ubuntu-24.04 python: "3.12" steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Add deadsnakes PPA if: matrix.os == 'ubuntu-20.04' run: sudo add-apt-repository --yes ppa:deadsnakes/ppa - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Install tox diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index e07d20e51..3131cb25b 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -24,11 +24,11 @@ jobs: if: matrix.os == 'ubuntu-20.04' run: sudo add-apt-repository --yes ppa:deadsnakes/ppa - name: Set up Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python }} - name: Checkout default branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main path: teuthology @@ -45,7 +45,7 @@ jobs: - name: Move initial repository run: mv teuthology teuthology.orig - name: Checkout desired ref - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: teuthology - name: Move virtualenv to new checkout diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index b7cd70753..facb48665 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 2261d62c9..2423d09a5 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -6,7 +6,7 @@ jobs: test: runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Test using docker-compose run: ./start.sh working-directory: ./docs/docker-compose