Update techstack.yml #128
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 | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: ['25.1'] | |
elixir: [ | |
'1.13.0', | |
'1.13.1', | |
'1.13.2', | |
'1.13.3', | |
'1.13.4', | |
'1.14.0', | |
'1.14.1' | |
] | |
services: | |
db: | |
image: postgres:latest | |
ports: ['5432:5432'] | |
env: | |
POSTGRES_DB: moose_dev | |
POSTGRES_USER: moose | |
POSTGRES_PASSWORD: moose | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Get dependencies | |
run: make deps | |
- name: Check moose format | |
run: make fmt_check | |
- name: Test moose | |
run: make ci | |
- name: Build moose | |
run: make build |