Skip to content

Merge pull request #26 from kurtraschke/dependabot/hex/credo-1.7.3 #61

Merge pull request #26 from kurtraschke/dependabot/hex/credo-1.7.3

Merge pull request #26 from kurtraschke/dependabot/hex/credo-1.7.3 #61

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Elixir CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
concurrency:
group: environment-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
name: Build and test
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@a34c98fd51e370b4d4981854aba1eb817ce4e483
with:
elixir-version: '1.14.5' # Define the elixir version [required]
otp-version: '25.3.2' # Define the OTP version [required]
- 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