From 7b981e4c48210ad86f92da8ff46ed8abe266a098 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sr=C4=91an=20Svrdlan?= Date: Sat, 2 Mar 2024 02:53:35 +0100 Subject: [PATCH] Handle Node.js 16 deprecation warning --- .github/workflows/ci.yml | 14 +++++++------- .github/workflows/compatibility.yml | 6 +++--- .github/workflows/refresh-dev-cache.yml | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 732b4a6..08b2a76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Spawn docker-compose EventStoreDB container run: docker-compose up --detach eventstore @@ -33,7 +33,7 @@ jobs: elixir-version: ${{ env.ELIXIR_VERSION }} - name: Restore the deps cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -42,7 +42,7 @@ jobs: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: build-cache with: path: _build @@ -89,7 +89,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + 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 @@ -104,7 +104,7 @@ jobs: elixir-version: ${{ env.ELIXIR_VERSION }} - name: Restore the deps cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -113,7 +113,7 @@ jobs: ${{ runner.os }}-${{ env.ELIXIR_VERSION }}-${{ env.OTP_VERSION }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v3 + uses: actions/cache@v4 id: build-cache with: path: _build @@ -148,7 +148,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/compatibility.yml b/.github/workflows/compatibility.yml index 53a83c9..14c7901 100644 --- a/.github/workflows/compatibility.yml +++ b/.github/workflows/compatibility.yml @@ -24,7 +24,7 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set the EventStoreDB version run: sed -i 's|ghcr.io/eventstore/eventstore:ci|eventstore/eventstore:${{ matrix.eventstore }}-buster-slim|g' docker-compose.yml @@ -39,7 +39,7 @@ jobs: elixir-version: ${{ matrix.beam.elixir }} - name: Restore the deps cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: deps-cache with: path: deps @@ -48,7 +48,7 @@ jobs: ${{ runner.os }}-${{ matrix.beam.elixir }}-${{ matrix.beam.otp }}-${{ env.MIX_ENV }}-deps- - name: Restore the _build cache - uses: actions/cache@v1 + uses: actions/cache@v4 id: build-cache with: path: _build diff --git a/.github/workflows/refresh-dev-cache.yml b/.github/workflows/refresh-dev-cache.yml index 06fafeb..8f59c1a 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: elixir-version: ${{ env.ELIXIR_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