Skip to content

Commit 80d316f

Browse files
authored
Update CI to newer elixir and erlang (#63)
* wip * wip * fixup
1 parent f55571a commit 80d316f

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@ jobs:
66
name: "Compile & Lint"
77
runs-on: "ubuntu-latest"
88
steps:
9+
- uses: actions/checkout@v1
910
- name: Setup elixir
1011
uses: erlef/setup-beam@v1
1112
with:
12-
otp-version: 24.3.3
13-
elixir-version: 1.16.3
13+
version-file: ".tool-versions"
14+
version-type: strict
1415

15-
- uses: actions/checkout@v1
1616
- run: mix deps.get
1717

18-
- uses: actions/cache@v2
18+
- uses: actions/cache@v3
1919
id: mix-cache
2020
with:
2121
path: |

.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
erlang 24.3.3 24.3.4.14 24.3.4.17 system
2-
elixir 1.16.3-otp-24
1+
erlang 26.2.5.5 system
2+
elixir 1.19.1-otp-26

lib/desktop/window.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ defmodule Desktop.Window do
601601
{:noreply, ui}
602602
end
603603

604-
def handle_cast(:rebuild_webview, ui) do
604+
def handle_cast(:rebuild_webview, ui = %Window{}) do
605605
{:noreply, %Window{ui | webview: Fallback.webview_rebuild(ui)}}
606606
end
607607

lib/desktop/wx.ex

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# TODO: less stringy metaprogramming
21
defmodule Desktop.Wx do
32
@moduledoc """
43
Elixir version of the constants found in the wx.hrl file, reduced to what is needed in this sample only.

0 commit comments

Comments
 (0)