feat: Add roles requirement in blueprint metadata in a order #2759
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: CFT CLI Tests | |
on: | |
push: | |
branches: | |
- 'master' | |
paths: | |
- 'cli/**' | |
- '.github/workflows/test-cli.yml' | |
pull_request: | |
branches: | |
- 'master' | |
paths: | |
- 'cli/**' | |
- '.github/workflows/test-cli.yml' | |
concurrency: | |
group: '${{github.workflow}}-${{ github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
unit: | |
name: ${{ matrix.operating-system }} unit tests | |
runs-on: ${{ matrix.operating-system }} | |
defaults: | |
run: | |
shell: bash | |
working-directory: 'cli' | |
strategy: | |
fail-fast: false | |
matrix: | |
operating-system: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0 | |
with: | |
go-version-file: cli/go.mod | |
cache-dependency-path: cli/go.sum | |
- run: |- | |
make test |