diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 316423c..78271e5 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 @@ -25,7 +28,7 @@ jobs: needs: [tests] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: 26 diff --git a/.github/workflows/hexpm-release.yml b/.github/workflows/hexpm-release.yml index e8f2a99..7dfe729 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: |