Skip to content

fix: update github actions #12

fix: update github actions

fix: update github actions #12

Workflow file for this run

name: Elixir CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["22.1", "23.3", "24.0"]
elixir: ["1.10.4", "1.11.4", "1.12.1"]
jobs:

Check failure on line 18 in .github/workflows/elixir.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/elixir.yml

Invalid workflow file

You have an error in your yaml syntax on line 18
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["24.2", "25.3", "26.2"]
elixir: ["1.14.5", "1.15.6", "1.16.1"]
steps:
- uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Restore dependencies cache
uses: actions/cache@v2
with:
path: deps
key: ${{ matrix.otp }}-${{ matrix.elixir }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ matrix.otp }}-${{ matrix.elixir }}-mix-
- run: mix deps.get
- run: mix test