ci: test before lint
ci/woodpecker/push/woodpecker Pipeline was successful Details

refactor/errors
Tomáš Mládek 2023-11-07 23:49:26 +01:00
parent 715f5b0e39
commit d8fa68f558
1 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,17 @@
pipeline:
test:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
secrets: [EARTHLY_CONFIGURATION]
commands:
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
- earthly bootstrap
- earthly +test
lint:
image: earthly/earthly:v0.7.15
volumes:
@ -25,19 +38,6 @@ pipeline:
# - earthly bootstrap
# - earthly +audit
test:
image: earthly/earthly:v0.7.15
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- FORCE_COLOR=1
- EARTHLY_EXEC_CMD="/bin/sh"
secrets: [EARTHLY_CONFIGURATION]
commands:
- mkdir ~/.earthly && echo "$EARTHLY_CONFIGURATION" > ~/.earthly/config.yaml
- earthly bootstrap
- earthly +test
gitea:prerelease:
image: earthly/earthly:v0.7.15
volumes: