From 31e10063253e1e4a090097be0f3e3a5670c83e6d Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Tue, 6 Jun 2023 11:49:48 +0200 Subject: [PATCH] GHA: Fix deprecation warnings (#1075) Fixes ``` hierarchical (3.11) Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. hierarchical (3.9) Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-python@v1, actions/cache@v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. ``` --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7855e7397..07c175dc0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -166,15 +166,15 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Prepare python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Cache - uses: actions/cache@v1 + uses: actions/cache@v3 with: path: ~/.cache key: ${{ runner.os }}-${{ matrix.python-version }}-ci-hierarchical