Skip to content

Commit b1d56e6

Browse files
committed
cleanup
1 parent e06ecbb commit b1d56e6

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ functions:
394394
include_expansions_in_env: ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY", "AWS_SESSION_TOKEN"]
395395
script: |
396396
${PREPARE_SHELL}
397-
task run-atlas
397+
task test-atlas
398398
399399
run-ocsp-test:
400400
- command: shell.exec

.github/workflows/codeql.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ jobs:
3333
languages: go
3434
build-mode: manual
3535

36+
- name: Install Taskfile support
37+
uses: arduino/setup-task@v2
38+
3639
- shell: bash
37-
run: |
38-
make build
40+
run: task build
3941

4042
- name: Perform CodeQL Analysis
4143
uses: github/codeql-action/analyze@v3

Taskfile.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ tasks:
1111
default:
1212
deps: [build, check-license, check-fmt, check-modules, lint, test-short]
1313

14-
add-license: etc/check_license.sh -a
14+
add-license: bash etc/check_license.sh -a
1515

16-
check-license: etc/check_license.sh
16+
check-license: bash etc/check_license.sh
1717

1818
build:
1919
deps: [cross-compile, build-tests, build-compile-check]
@@ -23,7 +23,7 @@ tasks:
2323

2424
build-tests: go test -short ${BUILD_TAGS} -run ^$$ ./...
2525

26-
build-compile-check: etc/compile_check.sh
26+
build-compile-check: bash etc/compile_check.sh
2727

2828
cross-compile:
2929
- GOOS=linux GOARCH=386 go build ./...
@@ -36,21 +36,21 @@ tasks:
3636
check-fmt:
3737
deps: [install-lll]
3838
cmds:
39-
- etc/check_fmt.sh
39+
- bash etc/check_fmt.sh
4040

41-
check-modules: etc/check_modules.sh
41+
check-modules: bash etc/check_modules.sh
4242

4343
doc: godoc -http=:6060 -index
4444

4545
fmt: go fmt ./...
4646

47-
api-report: etc/api_report.sh
47+
api-report: bash etc/api_report.sh
4848

49-
install-libmongocrypt: etc/install-libmongocrypt.sh
49+
install-libmongocrypt: bash etc/install-libmongocrypt.sh
5050

51-
run-docker: etc/run_docker.sh
51+
run-docker: bash etc/run_docker.sh
5252

53-
cherry-picker: etc/cherry-picker.sh
53+
cherry-picker: bash etc/cherry-picker.sh
5454

5555
# Lint with various GOOS and GOARCH tasks to catch static analysis failures that may only affect
5656
# specific operating systems or architectures. For example, staticcheck will only check for 64-bit
@@ -66,7 +66,7 @@ tasks:
6666
- GOOS=linux GOARCH=ppc64le golangci-lint run --config .golangci.yml ./...
6767
- GOOS=linux GOARCH=s390x golangci-lint run --config .golangci.yml ./...
6868

69-
update-notices: etc/generate_notices.pl > THIRD-PARTY-NOTICES
69+
update-notices: bash etc/generate_notices.pl > THIRD-PARTY-NOTICES
7070

7171
### Local testing tasks. ###
7272
test: go test ${BUILD_TAGS} -timeout {{.TEST_TIMEOUT}}s -p 1 ./...
@@ -79,11 +79,11 @@ tasks:
7979

8080
test-short: go test ${BUILD_TAGS} -timeout 60s -short ./...
8181

82-
test-oidc: etc/run-oidc-test.sh 'task --silent evg-test-oidc-auth'
82+
test-oidc: bash etc/run-oidc-test.sh 'task --silent evg-test-oidc-auth'
8383

84-
test-atlas: etc/run-atlas-test.sh
84+
test-atlas: bash etc/run-atlas-test.sh
8585

86-
test-awskms: etc/run-awskms-test.sh
86+
test-awskms: bash etc/run-awskms-test.sh
8787

8888
### Local FaaS tasks. ###
8989
build-faas-awslambda:
@@ -182,7 +182,7 @@ tasks:
182182
perf-files:
183183
internal: true
184184
cmds:
185-
- etc/prep-perf.sh
185+
- bash etc/prep-perf.sh
186186

187187
install-lll:
188188
internal: true

etc/prep-perf.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)