Bump stream_data from 0.6.0 to 1.1.1 #102
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
workflow_call: | |
pull_request: | |
push: | |
jobs: | |
# https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs | |
# Workflows that would otherwise be triggered using `on: push` or | |
# `on: pull_request` won't be triggered if you add any of the | |
# following strings to the commit message in a push, or the HEAD | |
# commit of a pull request: | |
# - [skip ci] | |
# - [ci skip] | |
# - [no ci] | |
# - [skip actions] | |
# - [actions skip] | |
test: | |
name: Elixir setup and test | |
runs-on: ubuntu-20.04 | |
env: | |
MIX_ENV: test | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Setup Erlang/OTP & Elixir | |
uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26" | |
elixir-version: "1.16.x" | |
- name: Cache artifacts | |
uses: actions/cache@v4 | |
with: | |
path: | | |
deps | |
_build | |
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }} | |
restore-keys: | | |
${{ runner.os }}-mix- | |
- name: Install Dependencies | |
run: | | |
mix format --check-formatted | |
mix deps.get | |
- name: Compile project | |
if: matrix.warnings_as_errors | |
run: mix compile --warnings-as-errors | |
- name: run static analysis | |
if: matrix.static_analysis | |
run: mix credo --strict --all | |
- name: Run tests | |
run: mix coveralls.github | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |