diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 64767e8..942eb08 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# Created with GitHubActions version 0.2.19 +# Created with GitHubActions version 0.2.21 name: CI env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -17,7 +17,7 @@ jobs: - '1.13.4' - '1.14.5' - '1.15.7' - - '1.16.0' + - '1.16.2' otp: - '21.3' - '22.3' @@ -50,11 +50,11 @@ jobs: otp: '22.3' - elixir: '1.15.7' otp: '23.3' - - elixir: '1.16.0' + - elixir: '1.16.2' otp: '21.3' - - elixir: '1.16.0' + - elixir: '1.16.2' otp: '22.3' - - elixir: '1.16.0' + - elixir: '1.16.2' otp: '23.3' steps: - name: Checkout @@ -79,7 +79,7 @@ jobs: with: path: test/support/plts key: test/support/plts-${{ runner.os }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles(format('{0}{1}', github.workspace, '/mix.lock')) }} - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }} - name: Get dependencies run: mix deps.get - name: Compile dependencies @@ -87,20 +87,20 @@ jobs: - name: Compile project run: MIX_ENV=test mix compile --warnings-as-errors - name: Check unused dependencies - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }} run: mix deps.unlock --check-unused - name: Check code format - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }} run: mix format --check-formatted - name: Lint code - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }} run: mix credo --strict - name: Run tests run: mix test - if: ${{ !(contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2')) }} + if: ${{ !(contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2')) }} - name: Run tests with coverage run: mix coveralls.github - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }} - name: Static code analysis run: mix dialyzer --format github --force-check - if: ${{ contains(matrix.elixir, '1.16.0') && contains(matrix.otp, '26.2') }} + if: ${{ contains(matrix.elixir, '1.16.2') && contains(matrix.otp, '26.2') }}