Skip to content

Commit d95d808

Browse files
authored
Merge pull request #138 from parca-dev/update4
update4
2 parents e4b312d + 2250ed0 commit d95d808

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1185
-1058
lines changed

.github/renovate.json5

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"config:best-practices",
55
"helpers:pinGitHubActionDigestsToSemver"
66
],
7+
"postUpdateOptions" : [
8+
"gomodTidy"
9+
],
710
"packageRules": [
811
{
912
"groupName": "Go dependencies",

.github/workflows/auto-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

2020
- name: Configure Git
2121
run: |

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ jobs:
2222
target_arch: [amd64, arm64]
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2626

2727
- name: Set up environment
2828
uses: ./.github/workflows/env
2929

3030
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
31+
uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
3232
with:
3333
languages: go
3434

@@ -37,7 +37,7 @@ jobs:
3737
make TARGET_ARCH=${{ matrix.target_arch }}
3838
3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
40+
uses: github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
4141
with:
4242
category: "/language:Go"
4343
timeout-minutes: 10

.github/workflows/codespell.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
- name: Install codespell
1414
run: sudo apt-get install codespell
1515
- name: Checkout Repo
16-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
- name: Codespell
1818
run: make codespell

.github/workflows/collector-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout Repo
21-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
- name: Set up environment
2323
uses: ./.github/workflows/env
2424
with:

.github/workflows/fossa.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: github.repository == 'open-telemetry/opentelemetry-ebpf-profiler'
1515
steps:
16-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717

1818
- uses: fossas/fossa-action@3ebcea1862c6ffbd5cf1b4d0bd6b3fe7bd6f2cac # v1.7.0
1919
with:

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Needed for GitHub OIDC token if publish_results is true
2020
id-token: write
2121
steps:
22-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
with:
2424
persist-credentials: false
2525

@@ -42,6 +42,6 @@ jobs:
4242
# Upload the results to GitHub's code scanning dashboard (optional).
4343
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
4444
- name: "Upload to code-scanning"
45-
uses: github/codeql-action/upload-sarif@51f77329afa6477de8c49fc9c7046c15b9a4e79d # v3.29.5
45+
uses: github/codeql-action/upload-sarif@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10
4646
with:
4747
sarif_file: results.sarif

.github/workflows/push-docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
if: github.repository == 'open-telemetry/opentelemetry-ebpf-profiler'
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
- name: Login to Docker Hub
20-
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
20+
uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3.5.0
2121
with:
2222
username: ${{ secrets.DOCKER_USERNAME }}
2323
password: ${{ secrets.DOCKER_PASSWORD }}

.github/workflows/unit-test-on-pull-request.yml

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Clone code
18-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919
- name: Set up environment
2020
uses: ./.github/workflows/env
2121
- name: Check for changes in licenses of dependencies
@@ -34,7 +34,7 @@ jobs:
3434
target_arch: [amd64, arm64]
3535
steps:
3636
- name: Clone code
37-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
37+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3838
- name: Set up environment
3939
uses: ./.github/workflows/env
4040
- name: Get linter version
@@ -57,7 +57,7 @@ jobs:
5757
target_arch: [amd64, arm64]
5858
steps:
5959
- name: Clone code
60-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
60+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6161
- name: Set up environment
6262
uses: ./.github/workflows/env
6363
with:
@@ -81,7 +81,7 @@ jobs:
8181
target_arch: [amd64, arm64]
8282
steps:
8383
- name: Clone code
84-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
8585
- name: Set up environment
8686
uses: ./.github/workflows/env
8787
- name: Tests
@@ -96,7 +96,7 @@ jobs:
9696
shell: bash --login {0}
9797
steps:
9898
- name: Clone code
99-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
100100
- name: Hash binary blobs
101101
run: |
102102
sha256sum support/ebpf/tracer.ebpf.* > binary-blobs.hash
@@ -126,7 +126,7 @@ jobs:
126126
target_arch: [amd64, arm64]
127127
steps:
128128
- name: Clone code
129-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
129+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
130130
- name: Set up environment
131131
uses: ./.github/workflows/env
132132
- name: Prepare integration test binaries for qemu tests
@@ -137,6 +137,28 @@ jobs:
137137
name: integration-test-binaries-${{ matrix.target_arch }}
138138
path: support/*.test
139139

140+
coredump-test-macos:
141+
name: Coredump tests (macOS)
142+
runs-on: macos-latest
143+
steps:
144+
- name: Clone code
145+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
146+
- name: Set up Go
147+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
148+
with:
149+
go-version-file: go.mod
150+
cache-dependency-path: go.sum
151+
- name: Cache coredump modules
152+
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
153+
with:
154+
path: tools/coredump/modulecache
155+
key: coredumps-arm64-${{ hashFiles('tools/coredump/testdata/*/*.json') }}
156+
restore-keys: |
157+
coredumps-arm64
158+
coredumps-
159+
- name: Run coredump tests
160+
run: GODEBUG=asyncpreemptoff=1 go test -v ./tools/coredump/
161+
140162
integration-tests:
141163
name: Integration tests (v${{ matrix.kernel }} ${{ matrix.target_arch }})
142164
runs-on: ubuntu-24.04
@@ -165,7 +187,7 @@ jobs:
165187
- { target_arch: arm64, kernel: 6.12.16 }
166188
steps:
167189
- name: Clone code
168-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
190+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
169191
- name: Install dependencies
170192
run: |
171193
sudo apt-get update -y
@@ -177,7 +199,7 @@ jobs:
177199
go install github.com/florianl/[email protected]
178200
sudo mv ~/go/bin/bluebox /usr/local/bin/.
179201
- name: Fetch integration test binaries
180-
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
202+
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
181203
with: { name: "integration-test-binaries-${{ matrix.target_arch }}" }
182204
- name: Fetch precompiled kernel
183205
run: |

Cargo.lock

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)