score-compose
and score-k8s
- devcontainer and in CI
#132
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: ci | |
permissions: | |
contents: read | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
containers: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v4 | |
- name: docker build backstage | |
run: | | |
mkdir credentials && touch credentials/github-app-backstage-humanitec-credentials.yaml | |
docker image build -t backstage:latest . | |
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 |