Add doc-test to CI - Add Cue dependency to integration CI test

Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
This commit is contained in:
Guillaume de Rouville 2021-08-13 04:32:43 +02:00
parent dc865bf2be
commit 8e9a56a024
2 changed files with 11 additions and 3 deletions

View File

@ -76,6 +76,14 @@ jobs:
with: with:
go-version: 1.16 go-version: 1.16
- name: Install Dependencies
run: |
# Cue
export CUE_VERSION="$(grep cue ./go.mod | cut -d' ' -f2)"
export CUE_TARBALL="cue_${CUE_VERSION}_linux_amd64.tar.gz"
echo "Installing cue version $CUE_VERSION"
curl -L https://github.com/cuelang/cue/releases/download/${CUE_VERSION}/${CUE_TARBALL} | sudo tar zxf - -C /usr/local/bin
- name: Install Dependencies - name: Install Dependencies
run: | run: |
# SOPS # SOPS

View File

@ -36,7 +36,7 @@ shellcheck:
lint: shellcheck cuelint golint docslint lint: shellcheck cuelint golint docslint
.PHONY: integration .PHONY: integration
integration: core-integration universe-test integration: core-integration universe-test doc-test
.PHONY: core-integration .PHONY: core-integration
core-integration: dagger-debug core-integration: dagger-debug