Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add coursier back
  • Loading branch information
ghostbuster91 committed Sep 23, 2023
commit eb060e7d8fb541779ed4c478de489d6f9b9b5c18
6 changes: 6 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
distribution: "temurin"
cache: "sbt"
java-version: 11
- uses: coursier/[email protected]
- name: Compile
run: sbt $SBT_JAVA_OPTS -v "compileScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}"
- name: Compile docs
Expand All @@ -36,10 +37,15 @@ jobs:
- name: Test
run: sbt $SBT_JAVA_OPTS -v "testScoped ${{ matrix.scala-version }} ${{ matrix.target-platform }}"
- name: Generate LSIF
if: matrix.target-platform == 'JVM' && matrix.scala-version == 2.13
run: cs launch com.sourcegraph:scip-java_2.13:0.8.2 -- index
- name: Install sourcegraph/src
if: matrix.target-platform == 'JVM' && matrix.scala-version == 2.13

run: yarn global add @sourcegraph/src
- name: Upload LSIF data
if: matrix.target-platform == 'JVM' && matrix.scala-version == 2.13

run: src code-intel upload -trace=3 -root . -file index.scip -github-token $GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down