Skip to content

Fix aws credentials tests #119

Fix aws credentials tests

Fix aws credentials tests #119

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- pair:
otp: "25.0"
elixir: "1.14.2"
- pair:
otp: "27.0"
elixir: "1.17.2"
lint: lint
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v4
- name: Install Erlang & Elixir
uses: erlef/setup-beam@v1
with:
otp-version: ${{ matrix.pair.otp }}
elixir-version: ${{ matrix.pair.elixir }}
- uses: actions/cache@v4
with:
path: deps
key: mix-deps-${{ hashFiles('**/mix.lock') }}
- name: Install mix dependencies
run: mix deps.get
- name: Check formatting
run: mix format --check-formatted
if: ${{ matrix.lint }}
- name: Check unused deps
run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- name: Check warnings
run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- name: Run tests
run: mix test