Skip to content

Commit 0ab1e36

Browse files
committed
Try to fix the CI
1 parent 641a3b2 commit 0ab1e36

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

.github/workflows/build-and-snapshot.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ jobs:
6060
run: go mod tidy -e || true
6161

6262
- name: Install golangci-lint
63-
run: go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
63+
run: |
64+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
65+
echo "${HOME}/go/bin" >> $GITHUB_PATH
66+
which golangci-lint
67+
golangci-lint --version
6468
6569
- name: Lint Go files
6670
run: ./scripts/lint-go.sh ci

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ jobs:
4343
- name: Install dependencies
4444
run: go mod tidy -e || true
4545

46+
- name: Install golangci-lint
47+
run: |
48+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
49+
echo "${HOME}/go/bin" >> $GITHUB_PATH
50+
which golangci-lint
51+
golangci-lint --version
52+
4653
- name: Lint Go files
4754
run: ./scripts/lint-go.sh ci
4855

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ USAGE:
288288
Get the status of async-profiler on a running Java application
289289

290290
OPTIONS:
291+
-keep -k, keep the heap dump in the container; by default the heap dump/JFR/... will
292+
be deleted from the container's filesystem after being downloaded
291293
-local-dir -ld, the local directory path that the dump/JFR/... file will be saved to,
292294
defaults to the current directory
293295
-no-download -nd, don't download the heap dump/JFR/... file to local, only keep it in the
@@ -303,8 +305,6 @@ OPTIONS:
303305
-container-dir -cd, the directory path in the container that the heap dump/JFR/... file will be
304306
saved to
305307
-dry-run -n, just output to command line what would be executed
306-
-keep -k, keep the heap dump in the container; by default the heap dump/JFR/... will
307-
be deleted from the container's filesystem after being downloaded
308308

309309
</pre>
310310

0 commit comments

Comments
 (0)