Skip to content

chore(deps): update actions/checkout action to v3 #212

chore(deps): update actions/checkout action to v3

chore(deps): update actions/checkout action to v3 #212

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
test:
name: mix test (Elixir ${{ matrix.elixir }} OTP ${{ matrix.otp }})
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
strategy:
fail-fast: false
matrix:
include:
- elixir: 1.11.x
otp: 21.x
os: ubuntu-20.04
- elixir: 1.11.x
otp: 22.x
os: ubuntu-20.04
- elixir: 1.11.x
otp: 23.x
os: ubuntu-20.04
- elixir: 1.12.x
otp: 22.x
os: ubuntu-20.04
- elixir: 1.12.x
otp: 23.x
os: ubuntu-20.04
- elixir: 1.12.x
otp: 24.x
os: ubuntu-20.04
- elixir: 1.13.x
otp: 22.x
os: ubuntu-20.04
- elixir: 1.13.x
otp: 23.x
os: ubuntu-20.04
- elixir: 1.13.x
otp: 24.x
os: ubuntu-20.04
- elixir: 1.14.x
otp: 23.x
os: ubuntu-20.04
- elixir: 1.14.x
otp: 24.x
os: ubuntu-20.04
- elixir: 1.14.x
otp: 25.x
os: ubuntu-20.04
- elixir: 1.15.x
otp: 24.x
os: ubuntu-20.04
- elixir: 1.15.x
otp: 25.x
os: ubuntu-20.04
steps:
- name: Checkout source
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
- name: Setup cache
uses: actions/cache@e12d46a63a90f2fae62d114769bbf2a179198b5c # v3.3.3
with:
key: ${{ github.job }}-${{ matrix.elixir }}-${{ matrix.otp }}-${{ hashFiles('mix.lock') }}-1
path: _build
- name: Install runtime
uses: erlef/setup-beam@2f0cc07b4b9bea248ae098aba9e1a8a1de5ec24c # v1.17.5
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Install Dependencies
run: mix deps.get
- name: Run tests
run: mix test