From cbf1311d54a33b8d497871f37e8fe3d010046d00 Mon Sep 17 00:00:00 2001 From: Kenta Nakase <1172471+parroty@users.noreply.github.com> Date: Tue, 18 Jun 2024 06:01:07 +0000 Subject: [PATCH] Fix versions in actions workflow --- .github/workflows/tests.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 62f0ee2..8db6ec1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -8,10 +8,16 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - otp: ['21','23'] + otp: ['23'] elixir: ['1.10', '1.11'] global-mock: [true, false] include: + - otp: '24' + elixir: '1.12' + global-mock: true + - otp: '24' + elixir: '1.12' + global-mock: false - otp: '26' elixir: '1.14' global-mock: true @@ -23,12 +29,12 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GLOBAL_MOCK: ${{ matrix.global-mock }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{ matrix.otp }} elixir-version: ${{ matrix.elixir }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | deps @@ -37,7 +43,7 @@ jobs: restore-keys: | ${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-mix- - run: mix deps.get - - uses: nick-invision/retry@v2 + - uses: nick-invision/retry@v3 with: timeout_minutes: 3 max_attempts: 3