Github Action for setting up WSLv1 (on Windows)

I’d like to test building Perl on WSLv1 (to reproduce the build error https_//github.com/Perl/perl5/issues/18254).

Is there an container or an action to set up Ubuntu 18.04 on WSLv1 on Windows?

(a Google search found only this on Marketplace https://github.com/marketplace/actions/setup-wsl, but unsure if it’s WSLv1 or WSLv2)

Does windows-2019 virtual environment have WSLv1 enabled?

Testing builds on WSLv1 can still be important in the post-WSLv2 world.

Thank you!

According to https://github.com/marketplace/actions/setup-wsl’s author in https://github.com/Vampire/setup-wsl/issues/2#issuecomment-727675696, only WSLv1 is supported in that action and in windows-2019 virt. env.