fix(ci): use extended hugo; install modules for tests

dev
Jef Roosens 2022-06-22 09:44:25 +02:00
parent a4c2508fe7
commit 9dd9222a69
Signed by untrusted user: Jef Roosens
GPG Key ID: B75D4F293C7052DB
2 changed files with 10 additions and 1 deletions

View File

@ -4,7 +4,7 @@ branches:
pipeline: pipeline:
docs: docs:
image: 'klakegg/hugo:alpine' image: 'klakegg/hugo:ext-alpine'
group: 'generate' group: 'generate'
commands: commands:
- apk add git - apk add git

View File

@ -8,6 +8,15 @@ branches:
platform: ${PLATFORM} platform: ${PLATFORM}
pipeline: pipeline:
install-modules:
image: 'chewingbever/vlang:latest'
pull: true
commands:
- export VMODULES=$PWD/.vmodules
- 'cd src && v install'
when:
event: [pull_request]
test: test:
image: 'chewingbever/vlang:latest' image: 'chewingbever/vlang:latest'
pull: true pull: true