Skip to content

maint: update brod dep to 4.0 #137

maint: update brod dep to 4.0

maint: update brod dep to 4.0 #137

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
integration-test:
name: integration test
runs-on: ubuntu-latest
env:
FORCE_COLOR: 1
strategy:
fail-fast: false
matrix:
elixirbase:
- "1.11.3-erlang-23.2.5-alpine-3.16.0"
- "1.14.3-erlang-25.3-alpine-3.17.2"
steps:
- uses: actions/checkout@v2
- name: Download released earthly
run: "sudo /bin/sh -c 'wget https://github.com/earthly/earthly/releases/download/v0.7.2/earthly-linux-amd64 -O /usr/local/bin/earthly && chmod +x /usr/local/bin/earthly'"
- name: Kafka Brodway integration-test under ${{matrix.elixirbase}}
run: earthly -P --ci --build-arg ELIXIR_BASE=${{matrix.elixirbase}} +integration-test
test:
runs-on: ubuntu-20.04
env:
MIX_ENV: test
strategy:
fail-fast: false
matrix:
include:
- pair:
elixir: 1.7.4
otp: 21.3.8.17
- pair:
elixir: 1.15.6
otp: 26.1.1
lint: lint
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.pair.otp}}
elixir-version: ${{matrix.pair.elixir}}
- uses: actions/cache@v2
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-${{matrix.pair.elixir}}-${{matrix.pair.otp}}-
- run: mix deps.get
- run: mix format --check-formatted
if: ${{ matrix.lint }}
- run: mix deps.unlock --check-unused
if: ${{ matrix.lint }}
- run: mix deps.compile
- run: mix compile --warnings-as-errors
if: ${{ matrix.lint }}
- run: mix test