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..e3ebe15 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 @@ -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 @@ -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