diff --git a/.github/workflows/ronin-install.yml b/.github/workflows/ronin-install.yml index 01d78b5..901ff77 100644 --- a/.github/workflows/ronin-install.yml +++ b/.github/workflows/ronin-install.yml @@ -78,20 +78,21 @@ jobs: termux: runs-on: ubuntu-latest - container: termux/termux-docker:latest + container: + image: termux/termux-docker:latest name: "ronin-install.sh on Termux" steps: - - uses: actions/checkout@v4 + - name: Fix /github/home/.npmrc + run: chown -R 1000:1000 "/github/home/.npm" - name: Install dependencies - run: | - pkg update -y && \ - pkg upgrade -y -o Dpkg::Options::="--force-confnew" && \ - pkg install -y git -o Dpkg::Options::="--force-confnew" && \ - git clone --depth 1 https://github.com/kward/shunit2.git + run: /entrypoint.sh /bin/sh -c "apt-get update -qq -y && apt-get install -qq -y nodejs && pkg install -y git -o Dpkg::Options::='--force-confnew' && git clone --depth 1 https://github.com/kward/shunit2.git" + - uses: actions/checkout@v4 + with: + entrypoint: /entrypoint.sh - name: Configure env run: echo "SHUNIT2=\"$PWD/shunit2/shunit2\"" >> $GITHUB_ENV - name: Run tests - run: ./test/ronin_install_test.sh + run: /entrypoint.sh "./test/ronin_install_test.sh" macos: runs-on: macos-latest