1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

fix(checker): use only one checker at the same time to improve perf (#2031)

* fix(checker): use only one checker at the same time to improve performance

* refactor

* fix test
This commit is contained in:
Valentin Maerten
2025-02-08 17:34:04 +01:00
committed by GitHub
parent 9009124192
commit c995fe6d11
4 changed files with 35 additions and 15 deletions

View File

@@ -1,10 +1,16 @@
version: '3'
tasks:
build:
build-checksum:
sources:
- ./source.txt
status:
- echo "{{.CHECKSUM}}"
build-ts:
method: timestamp
sources:
- ./source.txt
status:
- echo '{{.TIMESTAMP.Unix}}'
- echo '{{.TIMESTAMP}}'