diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8968841..0b7e137 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,10 @@ jobs: container: image: erlang:${{ matrix.otp }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + if: matrix.otp < '20.3' + - uses: actions/checkout@v4 + if: matrix.otp >= '20.3' - run: rebar3 compile - run: rebar3 xref - run: rebar3 dialyzer diff --git a/.github/workflows/hexpm-release.yml b/.github/workflows/hexpm-release.yml index 6ae7bde..10baec7 100644 --- a/.github/workflows/hexpm-release.yml +++ b/.github/workflows/hexpm-release.yml @@ -12,7 +12,7 @@ jobs: image: erlang:26 steps: - name: Check out - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup rebar3 hex run: |