Skip to content

score-compose and score-k8s - devcontainer and in CI #134

score-compose and score-k8s - devcontainer and in CI

score-compose and score-k8s - devcontainer and in CI #134

Workflow file for this run

name: ci
permissions:
contents: read
on:
pull_request:
branches: [main]
jobs:
containers:
runs-on: ubuntu-latest
steps:
- name: checkout code
uses: actions/checkout@v4
- name: install score-compose
uses: score-spec/setup-score@v3
with:
file: score-compose
token: ${{ secrets.GITHUB_TOKEN }}
version: "latest"
- name: make compose-up
run: |
make compose-up
validate-score:
runs-on: ubuntu-latest
env:
HUMCTL_VERSION: '*'
steps:
- name: checkout code
uses: actions/checkout@v4
- uses: humanitec/setup-cli-action@v1
with:
version: ${{ env.HUMCTL_VERSION }}
- name: humctl score validate - backstage
run: |
humctl score validate --local --strict \
score.yaml