v1.2.2 #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipeline | |
on: | |
pull_request: | |
push: | |
tags: | |
- "v*" | |
workflow_dispatch: | |
jobs: | |
ci: | |
name: CI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Yamllint | |
run: | | |
pip install --user yamllint | |
which yamllint | |
- name: Lint "action.yml" | |
run: | | |
yamllint action.yml | |
- name: Test Lint of Container Projects | |
uses: ./ | |
with: | |
type: container | |
job: lint | |
- name: Test Scan of Container Projects | |
uses: ./ | |
with: | |
type: container | |
job: scan | |
- name: Test CI of Container Projects | |
uses: ./ | |
with: | |
type: container | |
job: ci | |
- name: Test CD of Container Projects | |
uses: ./ | |
with: | |
type: container | |
job: cd | |
- name: Test CI of Nix Projects | |
uses: ./ | |
with: | |
type: nix | |
job: ci | |
- name: Test CI of CDKTF Projects | |
uses: ./ | |
with: | |
type: cdktf | |
job: ci | |
- name: Verification | |
run: | | |
set -e | |
which alejandra | |
alejandra --version | |
which checkov | |
checkov --version | |
which docker | |
docker buildx version | |
which hadolint | |
hadolint --version | |
which task | |
task --version | |
which cdktf | |
cdktf --version | |
which tenv | |
tenv --version |