Skip to content

fix: remove duplicated test action yml key #3

fix: remove duplicated test action yml key

fix: remove duplicated test action yml key #3

Workflow file for this run

name: Run Tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ["1.17.2", "1.16.3"]
elixir: ["27.0"]
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}
- name: Restore dependencies cache
uses: actions/cache@v3
with:
path: deps
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-mix-
- name: Install dependencies
run: mix deps.get
- name: Run tests
run: mix test