-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pattern matching on 0.0 is equivalent to matching only on +0.0 from E…
…rlang/OTP 27+. Instead you must match on +0.0 or -0.0 (#2) * GitHub Actions, update dependencies, Config * git ignore * pattern matching on 0.0 is equivalent to matching only on +0.0 from Erlang/OTP 27+. Instead you must match on +0.0 or -0.0 * don’t commit benchmarks * mix format * ci * no dialyzer for now * update readme * readme — setup
- Loading branch information
1 parent
3880c59
commit 9a79314
Showing
21 changed files
with
83 additions
and
1,326 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Pull Request Workflow | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled] | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Elixir Tests | ||
runs-on: ubuntu-latest | ||
env: | ||
MIX_ENV: test | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: erlef/setup-beam@v1 | ||
with: | ||
otp-version: "27.1" | ||
elixir-version: "1.17.3" | ||
- uses: actions/cache@v4 | ||
id: cache | ||
with: | ||
path: | | ||
deps | ||
_build | ||
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-mix- | ||
- name: Install dependencies | ||
if: steps.cache.outputs.cache-hit != 'true' | ||
run: mix deps.get | ||
- name: Compile | ||
run: mix compile --warnings-as-errors | ||
- name: Check code formatting | ||
run: mix format --check-formatted | ||
- name: Run Elixir tests | ||
run: mix coveralls | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ erl_crash.dump | |
*.ez | ||
*.swp | ||
snapshots/* | ||
.elixir_ls | ||
/benchmarks |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.