fix(ci): install dependencies for linting
Some checks failed
ci/woodpecker/pr/lint Pipeline failed
ci/woodpecker/pr/test Pipeline failed
ci/woodpecker/pr/docker unknown status
ci/woodpecker/pr/man unknown status
ci/woodpecker/pr/docs Pipeline failed
ci/woodpecker/pr/build Pipeline failed

This commit is contained in:
Jef Roosens 2022-11-02 18:25:49 +01:00
parent 96a9798d3f
commit df2678e331
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 14 additions and 3 deletions

View file

@ -7,10 +7,20 @@ branches:
platform: 'linux/amd64'
pipeline:
# vfmt seems to get confused if these aren't present
install-modules:
image: *vlang_image
pull: true
commands:
- export VMODULES=$PWD/.vmodules
- 'cd src && v install'
when:
event: [push, pull_request]
lint:
image: *vlang_image
pull: true
commands:
- make lint
when:
event: [ pull_request ]
event: [pull_request]