My collection of github actions
Include any of these composite Github Actions in workflows within the steps of a job with uses.
on: [push]
jobs:
my_job:
runs-on: ubuntu-latest
name: An example job
steps:
- uses: actions/checkout@v6
- uses: fernandopasik/actions/setup-node@mainAutomatically approves and sets automerge to a PR. A username can be provided or by default auto review Dependabot PRs.
Setup Ansible and install its dependencies. An ansible.cfg file and requirements.yml can be
provided to guide what galaxy packages to install and where. Depends on having Python available or
it can be installed by the Setup Python action.
Setup Node.js, cache and install dependencies. Works best for the majority of use cases, were you need to save time between jobs by caching and not running full installs.
- Logs node version and package manager version
- Auto detects cache and package manager
- Auto installs dependencies
- Cache node_modules directories between jobs
- Calculates and logs node_modules size
Setup Python and install its dependencies. A requirements.txt can be provided to detail the list
of python dependencies. Displays both Python and Pip versions. Caches and loads from local folder.
MIT (c) 2023 Fernando Pasik