Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.18 #299

Merged
merged 34 commits into from
Dec 29, 2024
Merged

1.18 #299

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9acf3a2
fix warning
lukaszsamson Dec 16, 2024
3df2874
fix tets
lukaszsamson Dec 19, 2024
715b80f
handle new surround context kinds
lukaszsamson Dec 19, 2024
0dfac7f
try to use trailing_fragment option
lukaszsamson Dec 19, 2024
e5b2c55
fix tests
lukaszsamson Dec 21, 2024
49529c0
fix warning
lukaszsamson Dec 21, 2024
1346327
elixir moved import quoted trace
lukaszsamson Dec 21, 2024
3712b5c
apply fix from elixir
lukaszsamson Dec 21, 2024
ba7b493
fix invalid padding
lukaszsamson Dec 22, 2024
b9a0907
fix warning
lukaszsamson Dec 22, 2024
4142861
fix warning
lukaszsamson Dec 22, 2024
81d54e5
parallel match expansion
lukaszsamson Dec 22, 2024
1298997
add todo
lukaszsamson Dec 22, 2024
c02b842
apply changes
lukaszsamson Dec 22, 2024
a162661
quoted validation
lukaszsamson Dec 22, 2024
48ceeca
apply changes to guard clauses
lukaszsamson Dec 22, 2024
17af3dc
apply changes to case rewrite
lukaszsamson Dec 22, 2024
546bdde
apply catch fix
lukaszsamson Dec 22, 2024
fc13425
fix edge case with duplicate match
lukaszsamson Dec 22, 2024
4ba84d9
format
lukaszsamson Dec 22, 2024
11cde8e
run CI on 1.18
lukaszsamson Dec 22, 2024
8397525
address todo
lukaszsamson Dec 22, 2024
4dc611b
prematch handling
lukaszsamson Dec 22, 2024
8460d5f
compatibility with OTP < 24
lukaszsamson Dec 22, 2024
0082b4a
add test
lukaszsamson Dec 23, 2024
0f8b4c7
do not crash if end_of_expression does not define column
lukaszsamson Dec 23, 2024
a995e27
add new protocol attribute undefined_impl_description
lukaszsamson Dec 23, 2024
9949dbc
add tests
lukaszsamson Dec 23, 2024
9aff3aa
fix test
lukaszsamson Dec 23, 2024
544ada7
collect behaviours to meta
lukaszsamson Dec 26, 2024
0c4b5c3
resolve todo
lukaszsamson Dec 26, 2024
3200aab
fix tests on < 1.18
lukaszsamson Dec 26, 2024
a9368c1
update matrix
lukaszsamson Dec 29, 2024
aee66a2
apply fixes from ElixirLS versions
lukaszsamson Dec 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 25 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,17 @@ jobs:
- elixir: 1.17.x
otp: 27.x
tests_may_fail: false
# https://github.com/erlef/setup-beam/issues/314
# - elixir: 1.18.x
# otp: 25.x
# tests_may_fail: true
- elixir: 1.18.x
otp: 26.x
tests_may_fail: false
- elixir: 1.18.x
otp: 27.x
tests_may_fail: false

env:
MIX_ENV: test
steps:
Expand All @@ -78,7 +89,8 @@ jobs:
mix local.hex --force
mix local.rebar --force
mix deps.get --only test
- run: mix test || ${{ matrix.tests_may_fail }}
- run: mix test
continue-on-error: ${{ matrix.tests_may_fail }}

mix_test_windows:
name: mix test windows (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
Expand Down Expand Up @@ -138,6 +150,16 @@ jobs:
- elixir: 1.17.x
otp: 27.x
tests_may_fail: false
# https://github.com/erlef/setup-beam/issues/314
# - elixir: 1.18.x
# otp: 25.x
# tests_may_fail: false
- elixir: 1.18.x
otp: 26.x
tests_may_fail: false
- elixir: 1.18.x
otp: 27.x
tests_may_fail: false
env:
MIX_ENV: test
steps:
Expand All @@ -155,17 +177,15 @@ jobs:
mix local.rebar --force
mix deps.get --only test
- run: mix test
if: ${{!matrix.tests_may_fail}}
- run: mix test || type nul
if: ${{matrix.tests_may_fail}}
continue-on-error: ${{ matrix.tests_may_fail }}

static_analysis:
name: static analysis (Elixir ${{matrix.elixir}} | Erlang/OTP ${{matrix.otp}})
runs-on: ubuntu-22.04
strategy:
matrix:
include:
- elixir: 1.17.x
- elixir: 1.18.x
otp: 27.x
steps:
- uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions lib/elixir_sense/core/builtin_attributes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ defmodule ElixirSense.Core.BuiltinAttributes do
after_verify
before_compile
fallback_to_any
undefined_impl_description
type
typep
opaque
Expand Down
Loading
Loading