Skip to content

feat: Add Metrics.set/1 resource action #7

feat: Add Metrics.set/1 resource action

feat: Add Metrics.set/1 resource action #7

Workflow file for this run

name: mix check
on:
push:
branches:
- main
pull_request:
branches:
- "*"
jobs:
mix_check:
name: Elixir ${{matrix.elixir}}, OTP ${{matrix.otp}}
strategy:
fail-fast: false
matrix:
include:
- elixir: '1.17.2'
otp: '27.0.1'
- elixir: '1.16.1'
otp: '26.2.2'
- elixir: '1.15.8'
otp: '26.2.5.2'
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Elixir
uses: erlef/setup-elixir@v1
with:
elixir-version: ${{ matrix.elixir }}
otp-version: ${{ matrix.otp }}
- name: Cache deps and build
uses: actions/cache@v3
with:
path: |
deps
_build
key: deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}-git-${{ github.sha }}
restore-keys: |
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}-${{ hashFiles('**/mix.lock') }}
deps-${{ runner.os }}-${{ matrix.otp }}-${{ matrix.elixir }}
- name: Fetch deps
run: mix deps.get
- name: Remove application build
run: mix clean
- name: Compile deps
run: mix deps.compile
- name: Compile app
run: mix compile
- name: Run check
run: mix check