diff --git a/.gitea/workflows/checks.yaml b/.gitea/workflows/checks.yaml index af0e456..11269fc 100644 --- a/.gitea/workflows/checks.yaml +++ b/.gitea/workflows/checks.yaml @@ -16,21 +16,12 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install wget - run: sudo apt-get install -y openssl libssl-dev wget - - - name: Install openssl - run: wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1 - - - name: Set up Elixir - uses: erlef/setup-beam@v1 - with: - elixir-version: "1.17.x" - otp-version: "26.x" - install-rebar: false - hexpm-mirrors: | - https://builds.hex.pm - https://cdn.jsdelivr.net/hex + - name: Setup Elixir + run: curl -fsSO https://elixir-lang.org/install.sh && \ + sh install.sh elixir@1.17.3 otp@27.1.2 $$ \ + installs_dir=$HOME/.elixir-install/installs && \ + export PATH=$installs_dir/otp/27.1.2/bin:$PATH && \ + export PATH=$installs_dir/elixir/1.17.3-otp-27/bin:$PATH - name: Install dependencies run: mix deps.get