-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Rebuild `Makefile` * Adjust `README.md` development section * Copy `.credo.exs` style configuration * Copy `.github/workflows/elixir.yml` build configuration * Copy `.tool-versions` Elixir and Erlang upgrades * Copy `.editorconfig` * Copy `.vscode` settings and extension recommendations * Remove `elixir-lang/ex_doc#1169` workaround * Use `@external_resource` to keep `mix docs` in sync * Reorganise `mix.exs`, filling it out more comprehensively * _Downgrade_ `ExDoc` * Include `test/support` in the archive for `TestDevice` * Remove lint * Add a shorter example for fixing the device only
- Loading branch information
Showing
13 changed files
with
133 additions
and
98 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
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 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 |
---|---|---|
@@ -1,30 +1,34 @@ | ||
# Modifying the actions? Don't like pushing to GitHub to find out whether your changes worked? | ||
# Consider act: https://github.com/nektos/act | ||
# | ||
# WARNING: you'll need the 18.2GB GitHub-compatible Docker image: | ||
# act -P ubuntu-18.04=nektos/act-environments-ubuntu:18.04 | ||
|
||
name: Elixir CI | ||
|
||
on: | ||
push: | ||
branches: [trunk] | ||
branches: [ main ] | ||
pull_request: | ||
branches: [trunk] | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-18.04 | ||
name: Elixir ${{matrix.elixir}} on OTP ${{matrix.otp}} | ||
strategy: | ||
matrix: | ||
otp: ["21.3", "22.3"] | ||
otp: ["21.3", "22.3", "23.0"] | ||
elixir: ["1.8", "1.9", "1.10"] | ||
steps: | ||
- uses: actions/[email protected] | ||
- uses: gleam-lang/[email protected] | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
- uses: actions/[email protected] | ||
- uses: actions/checkout@v2 | ||
- name: Set up Elixir | ||
uses: actions/setup-elixir@v1 | ||
with: | ||
otp-version: ${{matrix.otp}} | ||
elixir-version: ${{matrix.elixir}} | ||
- name: Cache deps | ||
uses: actions/[email protected] | ||
otp-version: ${{matrix.otp}} | ||
- name: Restore dependencies cache | ||
uses: actions/cache@v2 | ||
env: | ||
cache-name: deps | ||
with: | ||
|
@@ -58,7 +62,7 @@ jobs: | |
env: | ||
MIX_ENV: test | ||
- name: mix test | ||
run: mix coveralls --trace | ||
run: mix test --trace | ||
- name: mix format | ||
run: | | ||
mix format --check-formatted --dry-run --check-equivalent | ||
|
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
elixir 1.10.3-otp-22 | ||
erlang 22.1.8.1 | ||
elixir 1.10.4-otp-23 | ||
erlang 23.0.3 |
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"EditorConfig.EditorConfig", | ||
"davidanson.vscode-markdownlint", | ||
"jakebecker.elixir-ls" | ||
"editorconfig.editorconfig", | ||
"elixir-lsp.elixir-ls" | ||
This comment has been minimized.
Sorry, 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 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 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 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
Oops, something went wrong.
@garthk I think this should be
JakeBecker.elixir-ls
. It's confusing as, but mentioned here