update: supabase_potion sdk #4
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: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
elixir: [1.17.0] | |
otp: [27.0] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
elixir-version: ${{ matrix.elixir }} | |
otp-version: ${{ matrix.otp }} | |
- name: Install dependencies | |
run: mix deps.get | |
- name: Clean build | |
run: mix clean | |
- name: Check code formatting | |
run: mix format --check-formatted | |
- name: Run Credo | |
run: mix credo --strict |