From 565435ad82a0edb5165111e2445d0146e318fe55 Mon Sep 17 00:00:00 2001 From: Brian Berlin Date: Thu, 29 Feb 2024 15:21:14 -0600 Subject: [PATCH] Update home_live.ex --- .github/workflows/push.yml | 50 +++++++++++++++------------------ .tool-versions | 4 +-- lib/brian_web/live/home_live.ex | 5 +++- 3 files changed, 28 insertions(+), 31 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 6c8168a..88ff5d4 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -45,12 +45,12 @@ jobs: path: _build key: build-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }}-${{ hashFiles('mix.lock') }} - - name: Restore PLT cache - uses: actions/cache@v2 - id: plt-cache - with: - key: plt-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }} - path: priv/plts + # - name: Restore PLT cache + # uses: actions/cache@v2 + # id: plt-cache + # with: + # key: plt-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }} + # path: priv/plts - name: Install Mix Dependencies if: steps.deps-cache.outputs.cache-hit != 'true' @@ -60,14 +60,14 @@ jobs: if: steps.build-cache.outputs.cache-hit != 'true' run: mix compile - - name: Check Formatting - run: mix format --check-formatted + # - name: Check Formatting + # run: mix format --check-formatted - - name: Run Credo - run: mix credo --strict + # - name: Run Credo + # run: mix credo --strict - name: Run Tests - run: mix test --cover --export-coverage default + run: mix test --cover - name: Coverage Reporter uses: peek-travel/coverage-reporter@partitioned-lcov-results @@ -77,18 +77,12 @@ jobs: lcov_path: cover/lcov.info coverage_threshold: 80 - - name: Create Coverage Report Artifact - uses: actions/upload-artifact@v3 - with: - name: code-coverage - path: cover/reports/coverage_report.txt - - - name: Create PLTs - if: steps.plt-cache.outputs.cache-hit != 'true' - run: MIX_ENV=dev mix dialyzer --plt + # - name: Create PLTs + # if: steps.plt-cache.outputs.cache-hit != 'true' + # run: MIX_ENV=dev mix dialyzer --plt - - name: Run dialyzer - run: MIX_ENV=dev mix dialyzer --format github + # - name: Run dialyzer + # run: MIX_ENV=dev mix dialyzer --format github - name: Save Build Cache uses: actions/cache/save@v3 @@ -102,9 +96,9 @@ jobs: path: deps key: deps-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }}-${{ hashFiles('mix.lock') }} - - name: Save PLT cache - id: plt-cache-save - uses: actions/cache/save@v3 - with: - path: priv/plts - key: plt-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }} + # - name: Save PLT cache + # id: plt-cache-save + # uses: actions/cache/save@v3 + # with: + # path: priv/plts + # key: plt-${{ runner.os }}-${{ env.OTP_VERSION_SPEC }}-${{ env.ELIXIR_VERSION_SPEC }} diff --git a/.tool-versions b/.tool-versions index af11155..af12053 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -erlang 26.0 -elixir 1.14.5-otp-26 +elixir 1.15.7-otp-26 +erlang 26.1 diff --git a/lib/brian_web/live/home_live.ex b/lib/brian_web/live/home_live.ex index dcd4ce9..cdf3a69 100644 --- a/lib/brian_web/live/home_live.ex +++ b/lib/brian_web/live/home_live.ex @@ -81,7 +81,10 @@ defmodule BrianWeb.HomeLive do
  • - + Get to Know Brian Berlin: Dad, Amateur Car Racer, and Software Engineer