Installs task in nix projects #12
Workflow file for this run
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: Verification | |
run: | | |
set -e | |
which alejandra | |
which checkov | |
which docker | |
which hadolint | |
which task | |
docker buildx version |