This is an automated email from the ASF dual-hosted git repository.
hsluoyz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/casbin-ex.git
The following commit(s) were added to refs/heads/master by this push:
new 4943c80 feat: replace erlef/setup-beam with apt install in CI workflow
4943c80 is described below
commit 4943c80335ced6df0dca8f2e2ef423eb583134c0
Author: Yang Luo <[email protected]>
AuthorDate: Tue Jun 16 23:08:44 2026 +0800
feat: replace erlef/setup-beam with apt install in CI workflow
---
.github/workflows/ci.yml | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3c41232..31436bb 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,20 +14,16 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
- strategy:
- matrix:
- elixir: ['1.14.2']
- otp: ['25.1.1']
-
steps:
- name: Checkout code
uses: actions/checkout@v3
-
- - name: Set up Elixir
- uses: erlef/setup-beam@v1
- with:
- elixir-version: ${{ matrix.elixir }}
- otp-version: ${{ matrix.otp }}
+
+ - name: Set up Erlang and Elixir
+ run: |
+ wget -q
https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb
+ sudo dpkg -i erlang-solutions_2.0_all.deb
+ sudo apt-get update -q
+ sudo apt-get install -y erlang elixir
- name: Restore dependencies cache
uses: actions/cache@v3
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]