ci: install cargo before installing pre-commimt hooks
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8ab990535a
commit
020e421ef7
1 changed files with 5 additions and 4 deletions
|
|
@ -9,7 +9,7 @@ trigger:
|
|||
- refs/tags/v*
|
||||
environment:
|
||||
REGISTRY_HOST: https://git.roboces.dev
|
||||
DESTINATION_PREFIX: git.roboces.dev/catalin/halig
|
||||
DESTINATION_PREFIX: git.roboces.dev/catalin/ports
|
||||
PRE_COMMIT_HOME: /drone/src/.cache/.pre-commit
|
||||
|
||||
steps:
|
||||
|
|
@ -23,7 +23,7 @@ steps:
|
|||
from_secret: AWS_SECRET_ACCESS_KEY
|
||||
settings:
|
||||
restore: true
|
||||
bucket: halig-cache
|
||||
bucket: ports-cache
|
||||
endpoint: https://s3.fukurokuju.dev
|
||||
region: us-east-1
|
||||
path_style: true
|
||||
|
|
@ -35,9 +35,10 @@ steps:
|
|||
pull: true
|
||||
image: git.roboces.dev/catalin/poetry:beta
|
||||
commands:
|
||||
- apk add linux-headers
|
||||
- apk add linux-headers cargo
|
||||
- poetry config virtualenvs.in-project 1
|
||||
- poetry install --with linters,test
|
||||
- .venv/bin/pre-commit install-hooks
|
||||
depends_on:
|
||||
- restore_cache
|
||||
|
||||
|
|
@ -83,7 +84,7 @@ steps:
|
|||
settings:
|
||||
rebuild: true
|
||||
path_style: true
|
||||
bucket: halig-cache
|
||||
bucket: ports-cache
|
||||
endpoint: https://s3.fukurokuju.dev
|
||||
region: us-east-1
|
||||
mount:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue