32747 #21
Workflow file for this run
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
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 |