Skip to content

Commit 3979496

Browse files
committed
[scip-to-glean #3] Update CI
1 parent fcd8ee0 commit 3979496

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,17 @@ jobs:
9393
9494
- name: Install indexer (rust)
9595
run: |
96-
export RUST_ANALYZER=2023-11-06
9796
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
9897
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
99-
curl -L https://github.com/rust-analyzer/rust-analyzer/releases/download/${RUST_ANALYZER}/rust-analyzer-x86_64-unknown-linux-gnu.gz | gunzip -c - > "$LOCAL_BIN"/rust-analyzer
100-
chmod +x "$LOCAL_BIN"/rust-analyzer
98+
. "$HOME/.cargo/env"
99+
rustup toolchain install nightly-2025-06-11
100+
rustup component add rust-analyzer --toolchain nightly-2025-06-11
101+
cp "$(rustup which rust-analyzer --toolchain nightly-2025-06-11)" "$LOCAL_BIN"/rust-analyzer
102+
103+
- name: Build scip-to-glean
104+
run: |
105+
. "$HOME/.cargo/env"
106+
cd glean/lang/scip/indexer/scip_to_glean && cargo build --release
101107
102108
- name: Setup Haskell
103109
run: |
@@ -163,7 +169,7 @@ jobs:
163169
make setup-folly-version
164170
165171
- name: Disable some tests
166-
run: echo CABAL_CONFIG_FLAGS="$CABAL_CONFIG_FLAGS -f-hack-tests -f-rust-tests -f-python-tests" >> "$GITHUB_ENV"
172+
run: echo CABAL_CONFIG_FLAGS="$CABAL_CONFIG_FLAGS -f-hack-tests" >> "$GITHUB_ENV"
167173

168174
- name: Setup index-state
169175
run: echo CABAL_CONFIG_FLAGS="$CABAL_CONFIG_FLAGS --index-state=${{ matrix.index-state }}" >>"$GITHUB_ENV"

0 commit comments

Comments
 (0)