Skip to content

Commit fd678e0

Browse files
committed
Bump elixir from 1.16.0 to 1.18.0 in /elixir
1 parent 113d0b6 commit fd678e0

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.github/workflows/mix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
- name: Set up Beam
1616
uses: erlef/setup-beam@v1
1717
with:
18-
otp-version: '26.2'
19-
elixir-version: '1.16.0'
18+
otp-version: '27'
19+
elixir-version: '1.18.0'
2020
- name: Dependencies
2121
working-directory: elixir
2222
run: mix deps.get

elixir/GETTING_STARTED.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
- [elixir](https://elixir-lang.org/install.html)
99
<details><summary>Elixir Version</summary>
1010

11-
The kata is configured to run with Elixir version 1.16 by default.
11+
The kata is configured to run with Elixir version 1.18 by default.
1212

1313
To use a different version, simply modify the line below in [mix.exs](mix.exs).
1414

1515
```text
16-
elixir: "~> 1.16",
16+
elixir: "~> 1.18",
1717
```
1818
</details>
1919

elixir/lib/bowling_game.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2023 Murex
1+
# Copyright (c) 2024 Murex
22
#
33
# Permission is hereby granted, free of charge, to any person obtaining a copy
44
# of this software and associated documentation files (the "Software"), to deal
@@ -20,8 +20,10 @@
2020

2121
defmodule BowlingGame do
2222

23+
@spec score([integer()]) :: integer()
2324
def score(_rolls) do
2425
# TODO - Implement me!
26+
0
2527
end
2628

2729
end

elixir/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ defmodule BowlingGame.MixProject do
55
[
66
app: :bowling_game,
77
version: "0.1.0",
8-
elixir: "~> 1.16",
8+
elixir: "~> 1.18",
99
start_permanent: Mix.env() == :prod,
1010
deps: deps()
1111
]

0 commit comments

Comments
 (0)