Skip to content

Bump mikepenz/action-junit-report from 4.3.1 to 5.2.0 #611

Bump mikepenz/action-junit-report from 4.3.1 to 5.2.0

Bump mikepenz/action-junit-report from 4.3.1 to 5.2.0 #611

Workflow file for this run

name: Elixir CI
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
include:
- elixir-version: "1.16"
otp-version: "26"
- elixir-version: "1.17"
otp-version: "27"
steps:
- uses: actions/checkout@v4
- name: Set up Elixir
uses: erlef/setup-beam@v1
with:
elixir-version: ${{ matrix.elixir-version }}
otp-version: ${{ matrix.otp-version }}
- name: Restore dependencies cache
uses: actions/cache@v4
id: mix-cache
with:
path: |
deps
_build
priv/plts
key: ${{ runner.os }}-v2-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: ${{ runner.os }}-v2-mix-
- name: Install Dependencies
if: steps.mix-cache.outputs.cache-hit != 'true'
run: |
mkdir -p priv/plts
mix local.rebar --force
mix local.hex --force
mix deps.get
mix deps.compile
mix dialyzer --plt
- name: Run tests
run: mix test
- name: Static code quality checks
run: |
mix format --check-formatted
mix credo
mix dialyzer --format github
- name: Code Annotations Report
if: ${{ always() }}
uses: mikepenz/action-junit-report@v5.2.0
with:
report_paths: "reports/junit/*.xml"
github_token: ${{ secrets.GITHUB_TOKEN }}