Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 88adb24

Browse files
author
Hendrik van Antwerpen
committed
Merge branch 'upgrade-tree-sitter' of https://github.com/github/stack-graphs into upgrade-tree-sitter
2 parents eb3a814 + b3409fc commit 88adb24

File tree

16 files changed

+46
-48
lines changed

16 files changed

+46
-48
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ concurrency:
1313

1414
jobs:
1515
test-rust:
16-
# We force a newer runner version to fix a problem with Valgrind.
17-
# Currently, ubuntu-latest is set to 22.04. Revert this back to ubuntu-latest once it is set to 24.04.
18-
runs-on: ubuntu-24.04
16+
runs-on: ubuntu-latest
1917
strategy:
2018
matrix:
2119
rust: [stable]
@@ -31,11 +29,11 @@ jobs:
3129
- name: Install cargo-hack
3230
run: cargo install cargo-hack
3331
- name: Checkout code
34-
uses: actions/checkout@v3
32+
uses: actions/checkout@v4
3533
- name: Check formatting
3634
run: cargo fmt --all -- --check
3735
- name: Cache dependencies
38-
uses: actions/cache@v3
36+
uses: actions/cache@v4
3937
with:
4038
path: |
4139
~/.cargo
@@ -79,9 +77,9 @@ jobs:
7977
with:
8078
rust-version: ${{ matrix.rust }}
8179
- name: Checkout code
82-
uses: actions/checkout@v3
80+
uses: actions/checkout@v4
8381
- name: Cache dependencies
84-
uses: actions/cache@v3
82+
uses: actions/cache@v4
8583
with:
8684
path: |
8785
~/.cargo
@@ -99,7 +97,7 @@ jobs:
9997
working-directory: languages
10098
steps:
10199
- name: Checkout code
102-
uses: actions/checkout@v3
100+
uses: actions/checkout@v4
103101
- name: List languages
104102
id: language-list
105103
run: echo "languages=$(find -mindepth 1 -maxdepth 1 -type d -printf '%P\n' | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
@@ -122,7 +120,7 @@ jobs:
122120
- name: Install cargo-hack
123121
run: cargo install cargo-hack
124122
- name: Cache dependencies
125-
uses: actions/cache@v3
123+
uses: actions/cache@v4
126124
with:
127125
path: |
128126
~/.cargo
@@ -131,7 +129,7 @@ jobs:
131129
restore-keys: |
132130
${{ runner.OS }}-cargo-
133131
- name: Checkout code
134-
uses: actions/checkout@v3
132+
uses: actions/checkout@v4
135133
- name: Build (all feature combinations)
136134
run: cargo hack -p ${{ matrix.language }} --feature-powerset build
137135
- name: Test (all features)
@@ -152,7 +150,7 @@ jobs:
152150
with:
153151
rust-version: ${{ matrix.rust }}
154152
- name: Cache dependencies
155-
uses: actions/cache@v3
153+
uses: actions/cache@v4
156154
with:
157155
path: |
158156
~/.cargo
@@ -161,7 +159,7 @@ jobs:
161159
restore-keys: |
162160
${{ runner.OS }}-cargo-
163161
- name: Checkout code
164-
uses: actions/checkout@v3
162+
uses: actions/checkout@v4
165163
with:
166164
lfs: true
167165
- name: Build

.github/workflows/perf.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
done: ${{ steps.done.outputs.cache-hit }}
3838
steps:
3939
- name: "Checkout base code"
40-
uses: actions/checkout@v3
40+
uses: actions/checkout@v4
4141
with:
4242
repository: ${{ env.BASE_REPO }}
4343
ref: ${{ env.BASE_SHA }}
@@ -49,7 +49,7 @@ jobs:
4949
printf 'BASE_SHA=%s\n' "$(git rev-list -1 ${{ env.BASE_SHA }} -- stack-graphs)" >> $GITHUB_ENV
5050
working-directory: ${{ env.BASE_DIR }}
5151
- name: "Checkout head code"
52-
uses: actions/checkout@v3
52+
uses: actions/checkout@v4
5353
with:
5454
repository: ${{ env.HEAD_REPO }}
5555
ref: ${{ env.HEAD_SHA }}
@@ -62,7 +62,7 @@ jobs:
6262
working-directory: ${{ env.HEAD_DIR }}
6363
- name: "Check cached status"
6464
id: done
65-
uses: actions/cache/restore@v3
65+
uses: actions/cache/restore@v4
6666
with:
6767
path: done
6868
key: ${{ runner.os }}-perf-tested-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
rust-version: stable
8585
- name: Cache Rust dependencies
86-
uses: actions/cache@v3
86+
uses: actions/cache@v4
8787
with:
8888
path: |
8989
~/.cargo
@@ -94,15 +94,15 @@ jobs:
9494
sudo apt-get install -y valgrind
9595
- name: "Cache base result"
9696
id: cache-base-result
97-
uses: actions/cache@v3
97+
uses: actions/cache@v4
9898
with:
9999
path: |
100100
${{ env.MASSIF_OUT }}
101101
${{ env.MASSIF_REPORT }}
102102
key: ${{ runner.os }}-perf-result-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.TEST_NAME }}
103103
- name: "Checkout base code"
104104
if: steps.cache-base-result.outputs.cache-hit != 'true'
105-
uses: actions/checkout@v3
105+
uses: actions/checkout@v4
106106
with:
107107
repository: ${{ env.BASE_REPO }}
108108
ref: ${{ env.BASE_SHA }}
@@ -130,7 +130,7 @@ jobs:
130130
${{ env.BASE_DIR }}/data/${{ env.TEST_NAME }}
131131
ms_print ${{ env.MASSIF_OUT }} > ${{ env.MASSIF_REPORT }}
132132
- name: Upload results
133-
uses: actions/upload-artifact@v3
133+
uses: actions/upload-artifact@v4
134134
with:
135135
name: ${{ env.BASE_ARTIFACT }}
136136
path: |
@@ -152,7 +152,7 @@ jobs:
152152
with:
153153
rust-version: stable
154154
- name: Cache Rust dependencies
155-
uses: actions/cache@v3
155+
uses: actions/cache@v4
156156
with:
157157
path: |
158158
~/.cargo
@@ -163,15 +163,15 @@ jobs:
163163
sudo apt-get install -y valgrind
164164
- name: "Cache head result"
165165
id: cache-head-result
166-
uses: actions/cache@v3
166+
uses: actions/cache@v4
167167
with:
168168
path: |
169169
${{ env.MASSIF_OUT }}
170170
${{ env.MASSIF_REPORT }}
171171
key: ${{ runner.os }}-perf-result-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}
172172
- name: "Checkout head code"
173173
if: steps.cache-head-result.outputs.cache-hit != 'true'
174-
uses: actions/checkout@v3
174+
uses: actions/checkout@v4
175175
with:
176176
repository: ${{ env.HEAD_REPO }}
177177
ref: ${{ env.HEAD_SHA }}
@@ -199,7 +199,7 @@ jobs:
199199
${{ env.HEAD_DIR }}/data/${{ env.TEST_NAME }}
200200
ms_print ${{ env.MASSIF_OUT }} > ${{ env.MASSIF_REPORT }}
201201
- name: Upload results
202-
uses: actions/upload-artifact@v3
202+
uses: actions/upload-artifact@v4
203203
with:
204204
name: ${{ env.HEAD_ARTIFACT }}
205205
path: |
@@ -233,20 +233,20 @@ jobs:
233233
# Download results
234234
#
235235
- name: Download base results
236-
uses: actions/download-artifact@v4.1.7
236+
uses: actions/download-artifact@v4
237237
with:
238238
name: ${{ env.BASE_ARTIFACT }}
239239
path: ${{ env.BASE_ARTIFACT }}
240240
- name: Download head results
241-
uses: actions/download-artifact@v4.1.7
241+
uses: actions/download-artifact@v4
242242
with:
243243
name: ${{ env.HEAD_ARTIFACT }}
244244
path: ${{ env.HEAD_ARTIFACT }}
245245
#
246246
# Create report
247247
#
248248
- name: "Checkout code"
249-
uses: actions/checkout@v3
249+
uses: actions/checkout@v4
250250
with:
251251
path: ${{ env.SRC_DIR }}
252252
- name: Generate summary
@@ -268,7 +268,7 @@ jobs:
268268
- name: Create status marker
269269
run: touch done
270270
- name: "Cache status"
271-
uses: actions/cache/save@v3
271+
uses: actions/cache/save@v4
272272
with:
273273
path: done
274274
key: ${{ runner.os }}-perf-tested-${{ env.BASE_REPO }}@${{ env.BASE_SHA }}-${{ env.HEAD_REPO }}@${{ env.HEAD_SHA }}-${{ env.TEST_NAME }}

.github/workflows/publish-lsp-positions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-stack-graphs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-tree-sitter-stack-graphs-java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-tree-sitter-stack-graphs-javascript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-tree-sitter-stack-graphs-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-tree-sitter-stack-graphs-typescript.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

.github/workflows/publish-tree-sitter-stack-graphs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install Rust environment
1717
uses: hecrj/setup-rust-action@v1
1818
- name: Checkout repository
19-
uses: actions/checkout@v3
19+
uses: actions/checkout@v4
2020
# TODO Verify the crate version matches the tag
2121
- name: Test crate
2222
run: cargo test --all-features
@@ -36,7 +36,7 @@ jobs:
3636
contents: write
3737
steps:
3838
- name: Checkout repository
39-
uses: actions/checkout@v3
39+
uses: actions/checkout@v4
4040
- name: Create GitHub release
4141
uses: ncipollo/release-action@v1
4242
with:

languages/tree-sitter-stack-graphs-java/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## v0.5.0 -- Unreleased
8+
## v0.5.0 -- 2024-12-12
99

1010
- The `tree-sitter-stack-graphs` dependency is updated to version 0.10.
1111

0 commit comments

Comments
 (0)