Skip to content

Commit 1177026

Browse files
committed
updated to Bandit
1 parent 152c224 commit 1177026

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
- name: Set up Elixir
1717
uses: erlef/setup-beam@v1
1818
with:
19-
elixir-version: '1.14.2' # Define the elixir version [required]
20-
otp-version: '25.1.2' # Define the OTP version [required]
19+
elixir-version: '1.17.3' # Define the elixir version [required]
20+
otp-version: '26.2' # Define the OTP version [required]
2121
- name: Restore dependencies cache
2222
uses: actions/cache@v2
2323
with:

lib/counter_web/live/counter_component.ex

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ defmodule CounterComponent do
99
def render(assigns) do
1010
~H"""
1111
<div class="text-center">
12+
<!-- bg-green-500 hover:bg-green-600 bg-red-500 hover:bg-red-600 -->
1213
<h1 class="text-4xl font-bold text-center">Counter: <%= @val %></h1>
1314
<button phx-click="dec" class={btn("red")}>
1415
-

0 commit comments

Comments
 (0)