From 5709be351e0ea7bd5f243f2aa68164c25f073f37 Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Fri, 8 Nov 2024 12:33:37 +0100 Subject: [PATCH 1/2] Update GHA versions --- .github/workflows/erlang.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index d020754..007b66e 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -13,22 +13,22 @@ jobs: build: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 id: setup-beam with: version-type: strict version-file: .tool-versions - name: Restore _build - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: _build key: _build-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} - name: Restore rebar3's cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.cache/rebar3 key: rebar3-cache-for-os-${{runner.os}}-otp-${{steps.setup-beam.outputs.otp-version}}-rebar3-${{steps.setup-beam.outputs.rebar3-version}}-hash-${{hashFiles('rebar.lock')}} From 306d9220d930f27be300d611ec3bd3d5e5630d45 Mon Sep 17 00:00:00 2001 From: Nelson Vides Date: Fri, 8 Nov 2024 12:33:48 +0100 Subject: [PATCH 2/2] Extract loaded token --- .github/workflows/erlang.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index 007b66e..991f332 100644 --- a/.github/workflows/erlang.yml +++ b/.github/workflows/erlang.yml @@ -42,4 +42,6 @@ jobs: uses: codecov/codecov-action@v4 with: file: "_build/test/covertool/worker_pool.covertool.xml" + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: true verbose: true