Skip to content

update elixir version in CI workflow #59

update elixir version in CI workflow

update elixir version in CI workflow #59

Workflow file for this run

name: Elixir CI
# This workflow runs on pushes to the main branch
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / Elixir CI

Invalid workflow file

The workflow is not valid. .github/workflows/main.yml (Line: 15, Col: 9): Unexpected value 'strategy'
matrix:
otp: ['20.3', '21.3', '22.2']
elixir: ['1.8.2', '1.9.4']
- name: Install dependencies
run: mix deps.get
- name: Lint
run: mix format --check-formatted
- name: Start Redis container
uses: supercharge/[email protected]
with:
redis-version: '5'
- name: Run tests
run: |
REDIS_HOST=localhost REDIS_PORT=6379 mix test