- uses: pkgxdev/setup@v1
- run: pkgx [email protected] build
Installs pkgx
so you can then run go build
with go version ^1.20.
- uses: pkgxdev/setup@v1
with:
+: node@16
- run: node --version
node
v16 will be available in your job.
- uses: actions/checkout@v3
- uses: pkgxdev/dev@v1
The developer environment for your project will be available during the job.
eval "$(curl https://pkgx.sh)"
pkgx
will be installed and integrated. Use as per general terminal
guidelines, eg:
env +node@16 && npm start
{% hint style="info" %}
pkgx
can make it easy to use the GNU or BSD versions of core utilities
across platforms.
pkgx +gnu.org/coreutils ls
{% endhint %}