Skip to content

Commit

Permalink
Handle Node.js 16 deprecation warning (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
svrdlans authored Mar 18, 2024
1 parent d5590d0 commit 023682e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Start up EventStoreDB docker-compose container
run: docker-compose up --detach eventstore
Expand All @@ -27,13 +27,13 @@ jobs:
run: echo "OTP_VERSION=$(grep -h erlang .tool-versions | awk '{ print $2 }')" >> $GITHUB_ENV

- name: Setup Elixir and Erlang versions
uses: erlef/setup-beam@v1.7.0
uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -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@v1
uses: actions/cache@v4
id: build-cache
with:
path: _build
Expand Down Expand Up @@ -86,7 +86,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
Expand All @@ -95,13 +95,13 @@ jobs:
run: echo "OTP_VERSION=$(grep -h erlang .tool-versions | awk '{ print $2 }')" >> $GITHUB_ENV

- name: Setup Elixir and Erlang versions
uses: erlef/setup-beam@v1.7.0
uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -110,7 +110,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
Expand Down Expand Up @@ -145,7 +145,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:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/refresh-dev-cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -46,13 +46,13 @@ jobs:
run: echo "OTP_VERSION=$(grep -h erlang .tool-versions | awk '{ print $2 }')" >> $GITHUB_ENV

- name: Setup Elixir and Erlang versions
uses: erlef/setup-beam@v1.7.0
uses: erlef/setup-beam@v1
with:
otp-version: ${{ env.OTP_VERSION }}
elixir-version: ${{ env.ELIXIR_VERSION }}

- name: Restore the deps cache
uses: actions/cache@v1
uses: actions/cache@v4
id: deps-cache
with:
path: deps
Expand All @@ -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
Expand Down

0 comments on commit 023682e

Please sign in to comment.