ci: update to ubuntu-latest and checkout v4 #48
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, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}} | |
strategy: | |
matrix: | |
otp: ['20.0'] | |
elixir: ['1.9.4'] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{matrix.otp}} | |
elixir-version: ${{matrix.elixir}} | |
- name: Install FFmpeg | |
run: | | |
sudo apt-get install -qq software-properties-common | |
sudo add-apt-repository -y ppa:mc3man/bionic-media | |
sudo apt-get update -qq | |
sudo apt-get install -qq ffmpeg | |
- run: mix deps.get | |
- run: mix test |