From b64c00cf739eed4c32b49a0afb8039635962736a Mon Sep 17 00:00:00 2001 From: Rhys Berrow Date: Tue, 25 Jun 2024 12:10:39 +0100 Subject: [PATCH] Update actions versions --- .github/workflows/main.yml | 2 +- .github/workflows/pull_request.yml | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e77285d7..2c72c08f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: docker-push: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Build run: docker build -t onsdigital/eq-survey-runner-benchmark:latest . - name: Push diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 02af7831..4d946862 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -9,17 +9,17 @@ jobs: lint: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - name: Install Pipenv run: pip install pipenv==2022.9.24 - name: Cache virtualenv id: cache-virtualenv - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.local/share/virtualenvs/ key: ${{ runner.os }}-${{ env.PYTHON_VERSION }}-virtualenvs-${{ hashFiles('Pipfile.lock') }} @@ -31,10 +31,10 @@ jobs: test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: echo "PYTHON_VERSION=$(cat .python-version)" >> $GITHUB_ENV - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_VERSION }} - name: Install pipenv @@ -46,7 +46,7 @@ jobs: docker-push: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Tag run: | CLEAN_TAG=$(echo "${{ github.event.pull_request.head.ref }}" | tr / -)