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:
parent
dc865bf2be
commit
8e9a56a024
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
@ -2,9 +2,9 @@ name: CI
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [ main ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@ -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
|
||||||
|
2
Makefile
2
Makefile
@ -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
|
||||||
|
Reference in New Issue
Block a user