Skip to content

Bump stream_data from 0.6.0 to 1.1.1 #394

Bump stream_data from 0.6.0 to 1.1.1

Bump stream_data from 0.6.0 to 1.1.1 #394

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
container:
image: hexpm/elixir:${{ matrix.elixir }}-erlang-${{ matrix.erlang }}-ubuntu-${{ matrix.ubuntu }}
name: Elixir ${{ matrix.elixir }} / Erlang ${{ matrix.erlang }} and Ubuntu ${{matrix.ubuntu}}
strategy:
fail-fast: false
matrix:
elixir: ["1.12.0", "1.11.0", "1.10.4", "1.9.4", "1.8.2", "1.7.4"]
erlang: ["22.3.4"]
ubuntu: ["bionic-20200219"]
steps:
- uses: actions/[email protected]
- name: Cache dependencies
uses: actions/cache@v1
with:
path: deps/
key: dependencies-${{ matrix.elixir }}-erlang-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}
- name: Cache dialyzer plt
uses: actions/cache@v1
with:
path: _build/
key: build-elixir-${{ matrix.elixir }}-erlang-${{ matrix.erlang }}-${{ hashFiles('mix.lock') }}
- name: Install dependencies
run: |-
mix local.rebar --force
mix local.hex --force
mix deps.get
- name: Check format
if: (!startsWith(matrix.elixir, '1.7'))
run: mix format --check-formatted
- name: Run static code analysis
run: mix credo --strict
- name: Run dialyzer
run: mix dialyzer
- name: Run tests
run: mix test --cover