Skip to content

32747

32747 #21

Workflow file for this run

on: [push]
name: ci
defaults:
run:
shell: bash
jobs:
ci:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update
- run: |
apt-get install -y --no-install-recommends emacs-nox
emacs --version
- run: |
apt-get install -y --no-install-recommends erlang
erl -eval '{ok, Version} = file:read_file(filename:join([code:root_dir(), "releases", erlang:system_info(otp_release), "OTP_VERSION"])), io:fwrite(Version), halt().' -noshell
- uses: actions/checkout@v3
#fatal: detected dubious ownership in repository at '/__w/erlang-formatter/erlang-formatter'
# - run: git config --global --add safe.directory /__w/erlang-formatter/erlang-formatter
- run: make test all
- run: git --no-pager diff --exit-code