Skip to content

Commit a663757

Browse files
committed
Simplify ci-cd.yml by removing ERL_BASE resolution and unnecessary pkgx hacks
1 parent b8271a8 commit a663757

File tree

1 file changed

+3
-16
lines changed

1 file changed

+3
-16
lines changed

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,26 +47,13 @@ jobs:
4747
steps:
4848
- uses: actions/checkout@v6
4949
- uses: pkgxdev/dev@fix-erlang
50-
- name: Resolve ERL_BASE
51-
run: |
52-
unset ERL_ROOTDIR
53-
ERL_BIN="$(command -v erl)"
54-
ERL_BIN_REAL="$(readlink -f "$ERL_BIN")"
55-
ERL_DIR="$(dirname "$(dirname "$ERL_BIN_REAL")")"
56-
if [ -d "$ERL_DIR/lib/erlang" ]; then
57-
ERL_BASE="$ERL_DIR/lib/erlang"
58-
else
59-
ERL_BASE="$ERL_DIR"
60-
fi
61-
echo "ERL_BASE=$ERL_BASE" >> "$GITHUB_ENV"
62-
echo "ERL_ROOTDIR=$ERL_BASE" >> "$GITHUB_ENV"
63-
- run: pkgx +invisible-island.net/ncurses -- mix deps.get
64-
- run: pkgx +invisible-island.net/ncurses -- mix deps.compile
50+
- run: mix deps.get
51+
- run: mix deps.compile
6552
- uses: ./.github/actions/dialyzer-cache
6653
with:
6754
otp-version: ${{ needs.version.outputs.otp-version }}
6855
elixir-version: ${{ needs.version.outputs.elixir-version }}
69-
- run: pkgx +invisible-island.net/ncurses -- bin/audit --skip-check-image
56+
- run: bin/audit --skip-check-image
7057

7158
build:
7259
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)