https://github.com/mundoalem/action-prepare
GitHub action used to setup the dependencies needed by specific project types and their pipeline jobs.
https://github.com/mundoalem/action-prepare
actions github
Last synced: about 2 months ago
JSON representation
GitHub action used to setup the dependencies needed by specific project types and their pipeline jobs.
- Host: GitHub
- URL: https://github.com/mundoalem/action-prepare
- Owner: mundoalem
- License: gpl-3.0
- Created: 2023-12-10T14:20:34.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-06T17:16:49.000Z (over 1 year ago)
- Last Synced: 2025-03-18T01:47:04.538Z (over 1 year ago)
- Topics: actions, github
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/mundoalem/action-prepare/actions/workflows/pipeline.yml)
# Prepare
Prepare is a GitHub action used to setup the dependencies needed by specific project types and their pipeline jobs. The
currently supported project types and jobs are:
| Project Type | Jobs | OS |
| ------------ | ------------------ | ----- |
| container | cd, ci, lint, scan | linux |
| nix | ci, lint | linux |
| terraform | any | linux |
# Inputs
| Input | Description | Required | Default |
| ----------------- | ------------------------------------ | -------- | ------- |
| job | Job we are preparing for | Yes | |
| type | Project type we are preparing for | Yes | |
| version_alejandra | Version of alejandra to be installed | No | 4.0.0 |
| version_checkov | Version of checkov to be installed | No | 3.2.501 |
| version_hadolint | Version of hadolint to be installed | No | 2.14.0 |
| version_task | Version of task to be installed | No | 3.48.0 |
| version_tenv | Version of tenv to be installed | No | 4.9.3 |
| version_tflint | Version of tflint to be installed | No | 0.61.0 |
# Outputs
None.
# Example Usage
Setting up the `cd` job of a `container` project type:
```yaml
- name: Prepare
uses: mundoalem/action-prepare@v1
with:
type: container
job: cd
```
Setting up the `lint` job of a `container` project type with a specific version of `hadolint`:
```yaml
- name: Prepare
uses: mundoalem/action-prepare@v1
with:
type: container
job: lint
version_hadolint: 2.10.0
```
# License
[GNU General Public License Version 3](https://github.com/mundoalem/action-prepare/blob/main/LICENSE)