Bump ecto_sqlite3 from 0.11.0 to 0.12.0 #39
Workflow file for this run
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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- pair: | |
elixir-version: 1.14 | |
otp-version: 24.3 | |
lint: lint | |
- pair: | |
elixir-version: 1.15 | |
otp-version: 26.0 | |
lint: lint | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{matrix.pair.elixir-version}} | |
otp-version: ${{matrix.pair.otp-version}} | |
- name: Restore elixir dependencies cache | |
uses: actions/cache@v3 | |
with: | |
path: deps | |
key: ${{runner.os}}-mix-${{matrix.elixir-version}}-${{matrix.otp-version}}-${{hashFiles('**/mix.lock')}} | |
restore-keys: ${{runner.os}}-mix-${{matrix.elixir-version}}-${{matrix.otp-version}}- | |
- name: Install dependencies | |
run: mix deps.get --only test | |
- name: Check syntax formatting | |
run: mix format --check-formatted | |
if: ${{matrix.lint}} | |
- name: Check for unused dependencies | |
run: mix deps.unlock --check-unused | |
if: ${{matrix.lint}} | |
- name: Compile dependencies | |
run: mix deps.compile | |
- name: Compile | |
run: mix compile --warnings-as-errors | |
if: ${{matrix.lint}} | |
- name: Run tests | |
run: mix test |