From c5f4fb5375422b7618e44233bb9cb545af749b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sr=C4=91an=20Svrdlan?= Date: Fri, 15 Mar 2024 18:23:40 +0100 Subject: [PATCH] Handle Node.js 16 deprecation warning --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/refresh-dev-cache.yml | 6 +++--- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52aa9ea..146838e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Determine the elixir version run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV @@ -26,7 +26,7 @@ jobs: otp-version: ${{ env.OTP_VERSION }} - name: Restore the deps cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -35,7 +35,7 @@ jobs: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: build-cache with: path: _build @@ -77,7 +77,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Determine the elixir version run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV @@ -92,7 +92,7 @@ jobs: otp-version: ${{ env.OTP_VERSION }} - name: Restore the deps cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -101,7 +101,7 @@ jobs: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: build-cache with: path: _build @@ -136,7 +136,7 @@ jobs: - name: Create a GitHub Release id: create_release - uses: NFIBrokerage/create-release@v2 + uses: NFIBrokerage/create-release@v4 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/refresh-dev-cache.yml b/.github/workflows/refresh-dev-cache.yml index f3a98d2..4531fd9 100644 --- a/.github/workflows/refresh-dev-cache.yml +++ b/.github/workflows/refresh-dev-cache.yml @@ -37,7 +37,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Determine the elixir version run: echo "ELIXIR_VERSION=$(grep -h elixir .tool-versions | awk '{ print $2 }' | awk -F - '{print $1}')" >> $GITHUB_ENV @@ -52,7 +52,7 @@ jobs: otp-version: ${{ env.OTP_VERSION }} - name: Restore the deps cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -61,7 +61,7 @@ jobs: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: build-cache with: path: _build