Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

token: ${{ secrets.GITHUB_TOKEN }} #8

token: ${{ secrets.GITHUB_TOKEN }}

token: ${{ secrets.GITHUB_TOKEN }} #8

Workflow file for this run

name: ci
permissions:
contents: read
id-token: write
on:
push:
env:
SCORE_HUMANITEC_VERSION: 'latest'
jobs:
job:
runs-on: ubuntu-22.04
steps:
- name: checkout code
uses: actions/checkout@v3
- name: install score-humanitec
uses: score-spec/setup-score@v2
with:
file: score-humanitec
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ env.SCORE_HUMANITEC_VERSION }}
- name: score-humanitec run - workload1
run: |
score-humanitec run \
--env development \
-f score/workload1/score.yaml \
--extensions score/workload1/humanitec.score.yaml
- name: score-humanitec run - workload2
run: |
score-humanitec run \
--env development \
-f score/workload2/score.yaml \
--extensions score/workload2/humanitec.score.yaml
- name: terraform validate
run: |
cd humanitec
terraform init -backend=false
terraform validate