exmr/.forgejo/workflows/checks.yaml
Vladimir Rubin 440ca7563f
Some checks failed
Checks / check (push) Successful in -5m56s
Build and Push Docker Image / Build and Push Image (push) Failing after -7m7s
ci: migrate to forgejo
2024-12-07 16:05:37 +02:00

46 lines
1 KiB
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
- name: Setup ssl
run: wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb && sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.23_amd64.deb
- uses: https://github.com/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