diff --git a/.github/workflows/erlang.yml b/.github/workflows/erlang.yml index d020754..991f332 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')}} @@ -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