diff --git a/.github/actions/setup-beam-with-cache/action.yml b/.github/actions/setup-beam-with-cache/action.yml index 8fccf09..1ee723d 100644 --- a/.github/actions/setup-beam-with-cache/action.yml +++ b/.github/actions/setup-beam-with-cache/action.yml @@ -8,9 +8,6 @@ inputs: rebar3-version: description: Rebar3 version (string) required: true - rebar-lock-path: - description: Path of `rebar.lock` (string) - required: true overwrite: description: Whether to overwrite the cache (bool string) required: false @@ -28,7 +25,7 @@ runs: id: cache-no-overwrite if: ${{ inputs.overwrite != 'true' }} with: - key: ${{ runner.os }}-otp-${{ inputs.otp-version }}-rebar3-${{ inputs.rebar3-version }}-${{ hashFiles(inputs.rebar-lock-path) }} + key: ${{ runner.os }}-otp-${{ inputs.otp-version }}-rebar3-${{ inputs.rebar3-version }}-${{ hashFiles('rebar.lock') }} path: | ~/.cache/rebar3 _build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ca38e6..71692e1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,6 @@ jobs: with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./rebar.lock" - run: rebar3 xref - run: rebar3 dialyzer @@ -55,7 +54,6 @@ jobs: with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./rebar.lock" - name: Run sample-based-tests run: rebar3 do eunit, ct diff --git a/.github/workflows/create-cache-periodically.yml b/.github/workflows/create-cache-periodically.yml index 0043a49..d7dd6c8 100644 --- a/.github/workflows/create-cache-periodically.yml +++ b/.github/workflows/create-cache-periodically.yml @@ -30,5 +30,4 @@ jobs: with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./rebar.lock" overwrite: "true" diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml index 6a96624..e46ba31 100644 --- a/.github/workflows/demo.yml +++ b/.github/workflows/demo.yml @@ -23,11 +23,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/setup-beam-with-cache/ + - uses: erlef/setup-beam@v1 with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./demo/rebar.lock" - name: Demonstrate with polynomial_time_without_correctness run: | @@ -58,11 +57,10 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: ./.github/actions/setup-beam-with-cache/ + - uses: erlef/setup-beam@v1 with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./demo/rebar.lock" - name: Demonstrate with exp_time_with_correctness run: | diff --git a/.github/workflows/run-property-based-tests-periodically.yml b/.github/workflows/run-property-based-tests-periodically.yml index 6083dbd..f9eb9b8 100644 --- a/.github/workflows/run-property-based-tests-periodically.yml +++ b/.github/workflows/run-property-based-tests-periodically.yml @@ -19,7 +19,6 @@ jobs: with: otp-version: ${{ env.otp }} rebar3-version: ${{ env.rebar3 }} - rebar-lock-path: "./rebar.lock" - name: Run property-based tests run: rebar3 proper -n 1000