exmr/.gitea/workflows/checks.yaml
Vladimir Rubin 295a9b428d
Some checks failed
Checks / check (push) Failing after 1m5s
i am so fuckng stupdi
2024-11-17 21:28:32 +02:00

43 lines
815 B
YAML

name: Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: erlef/setup-beam@v1
env:
ImageOS: ubuntu24
with:
otp-version: "25"
elixir-version: "1.17.3"
install-rebar: false
- name: Install dependencies
run: mix deps.get
- name: Check formatting
run: mix format --check-formatted
- name: Run Credo
run: mix credo --strict
- name: Check for compiler warnings
run: mix compile --warnings-as-errors
- name: Run tests
run: mix test
- name: Check for unused dependencies
run: mix deps.unlock --check-unused