Skip to content

Commit 54d4289

Browse files
committed
cleanup
1 parent e42e875 commit 54d4289

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

Taskfile.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# See https://taskfile.dev/usage/
2-
version: "3"
2+
version: '3'
33

44
env:
55
TEST_TIMEOUT: 1800
66
LONG_TEST_TIMEOUT: 3600
77

8-
dotenv: [".test.env"]
8+
dotenv: ['.test.env']
99

1010
tasks:
11+
1112
### Utility tasks. ###
12-
default:
13+
default:
1314
deps: [build, check-license, check-fmt, check-modules, lint, test-short]
1415

1516
add-license: bash etc/check_license.sh -a
@@ -35,15 +36,15 @@ tasks:
3536

3637
build-aws-ecs-test: go test -c ./internal/test/aws -o aws.testbin
3738

38-
cross-compile:
39+
cross-compile:
3940
- GOOS=linux GOARCH=386 go build ./...
4041
- GOOS=linux GOARCH=arm go build ./...
4142
- GOOS=linux GOARCH=arm64 go build ./...
4243
- GOOS=linux GOARCH=amd64 go build ./...
4344
- GOOS=linux GOARCH=ppc64le go build ./...
4445
- GOOS=linux GOARCH=s390x go build ./...
4546

46-
check-fmt:
47+
check-fmt:
4748
deps: [install-lll]
4849
cmds:
4950
- bash etc/check_fmt.sh
@@ -56,9 +57,9 @@ tasks:
5657

5758
api-report: bash etc/api_report.sh
5859

59-
install-libmongocrypt:
60+
install-libmongocrypt:
6061
cmds: [bash etc/install-libmongocrypt.sh]
61-
status:
62+
status:
6263
- test -d install || test -d /cygdrive/c/libmongocrypt/bin
6364

6465
run-docker: bash etc/run_docker.sh
@@ -75,7 +76,7 @@ tasks:
7576
# specific operating systems or architectures. For example, staticcheck will only check for 64-bit
7677
# alignment of atomically accessed variables on 32-bit architectures (see
7778
# https://staticcheck.io/docs/checks#SA1027)
78-
lint:
79+
lint:
7980
cmds:
8081
- GOOS=linux GOARCH=386 etc/golangci-lint.sh
8182
- GOOS=linux GOARCH=arm etc/golangci-lint.sh
@@ -101,7 +102,7 @@ tasks:
101102

102103
test-oidc-remote: bash etc/run-oidc-remote-test.sh
103104

104-
test-atlas-connect:
105+
test-atlas-connect:
105106
- go test -v -run ^TestAtlas$ go.mongodb.org/mongo-driver/v2/internal/cmd/testatlas -args "$ATLAS_REPL" "$ATLAS_SHRD" "$ATLAS_FREE" "$ATLAS_TLS11" "$ATLAS_TLS12" "$ATLAS_SERVERLESS" "$ATLAS_SRV_REPL" "$ATLAS_SRV_SHRD" "$ATLAS_SRV_FREE" "$ATLAS_SRV_TLS11" "$ATLAS_SRV_TLS12" "$ATLAS_SRV_SERVERLESS" >> test.suite
106107

107108
test-awskms: bash etc/run-awskms-test.sh
@@ -114,9 +115,9 @@ tasks:
114115

115116
### Local FaaS tasks. ###
116117
build-faas-awslambda:
117-
requires:
118+
requires:
118119
vars: [MONGODB_URI]
119-
cmds:
120+
cmds:
120121
- make -c internal/cmd/faas/awslambda
121122

122123
### Evergreen specific tasks. ###
@@ -131,7 +132,7 @@ tasks:
131132
- ATLAS_DATA_LAKE_INTEGRATION_TEST=true go test -v ./internal/integration/unified -run TestUnifiedSpec/atlas-data-lake-testing >> spec_test.suite
132133
- ATLAS_DATA_LAKE_INTEGRATION_TEST=true go test -v ./internal/integration -run TestAtlasDataLake >> spec_test.suite
133134

134-
evg-test-enterprise-auth:
135+
evg-test-enterprise-auth:
135136
- go run -tags gssapi ./internal/cmd/testentauth/main.go
136137

137138
evg-test-oidc-auth:
@@ -185,15 +186,15 @@ tasks:
185186
### Benchmark specific tasks and support. ###
186187
benchmark:
187188
deps: [perf-files]
188-
cmds:
189+
cmds:
189190
- go test ${BUILD_TAGS} -benchmem -bench=. ./benchmark | test benchmark.suite
190191

191-
driver-benchmark:
192-
cmds:
192+
driver-benchmark:
193+
cmds:
193194
- go test ./internal/cmd/benchmark -v --fullRun | tee perf.suite
194195

195196
### Internal tasks. ###
196-
install-lll:
197+
install-lll:
197198
internal: true
198199
cmds:
199200
- go install github.com/walle/lll/...@latest

0 commit comments

Comments
 (0)