Fix Elixir 1.17 warning about function call without parens (#58) #71
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
name: TableRex CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# Official support is for latest 3 minor Elixir | |
# versions & latest 2 major OTP releases. | |
elixir: ["1.13", "1.14", "1.15"] | |
otp: ["25", "26"] | |
exclude: | |
- elixir: 1.13 | |
otp: 26 | |
- elixir: 1.14 | |
otp: 26 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Compile & error on warning | |
run: mix compile --warnings-as-errors | |
- name: Check code is formatted | |
run: mix format --check-formatted | |
- name: Run the test suite | |
run: mix test |