tarantool / setup-tarantool

Setup Tarantool for use with Github Actions
MIT License
9 stars 2 forks source link

Sudo required seems unnecessary #38

Open filonenko-mikhail opened 1 year ago

filonenko-mikhail commented 1 year ago

There is job

jobs:
  tests:
    runs-on: [self-hosted, Linux, x86_64, flavor-8-16]
    container: ubuntu:22.04
    steps:
      - uses: tarantool/setup-tarantool@v2
        with:
          tarantool-version: '2.10'

And there is an error

Error: Unable to locate executable file: sudo. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
/__w/_actions/tarantool/setup-tarantool/v2/dist/main/index.js:5900
                    throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);
                          ^

Error: Unable to locate executable file: tarantool. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.

setup-tarantool@v2

It seems that job already has root privileges inside runned container.