diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5305c6b1..2e249dc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [main] + branches: [ main ] pull_request: - branches: [main] + branches: [ main ] jobs: lint: @@ -76,6 +76,14 @@ jobs: with: 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 run: | # SOPS diff --git a/Makefile b/Makefile index f585dc95..5b6de955 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ shellcheck: lint: shellcheck cuelint golint docslint .PHONY: integration -integration: core-integration universe-test +integration: core-integration universe-test doc-test .PHONY: core-integration core-integration: dagger-debug