Skip to content

Commit

Permalink
Merge pull request #1 from ckipp01/chores
Browse files Browse the repository at this point in the history
chores
  • Loading branch information
ckipp01 committed Aug 15, 2022
2 parents add2b5f + efbd94a commit f2469f7
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: ckipp01
30 changes: 30 additions & 0 deletions .github/workflows/sourcegraph.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Sourcegraph
on:
push:
branches:
- main
pull_request:

jobs:
scip:
runs-on: ubuntu-latest
name: "Upload SCIP"
steps:
- uses: actions/checkout@v3
- uses: coursier/cache-action@v6
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'

- name: Generate SCIP File
run: ./mill --import ivy:io.chris-kipp::mill-scip::0.2.1 io.kipp.mill.scip.Scip/generate

- name: Install src
run: yarn global add @sourcegraph/src

- name: Upload SCIP file
run: |
src code-intel upload -trace=3 -root . -file out/io/kipp/mill/scip/Scip/generate.dest/index.scip -github-token $GITHUB_TOKEN
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions plugin/src/io/kipp/mill/giter8/G8Module.scala
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ trait G8Module extends TaskModule {
def validationTargets: Target[Seq[String]] = T { Seq.empty[String] }

/** The main target that you'll want to use. This will first ensure that
* [[io.kipp.mill.giter8.generate]] runs to ensure your project can actually
* be generated with g8 and then run the
* [[io.kipp.mill.giter8.validationTargets]] against that project.
* [[io.kipp.mill.giter8.G8Module.generate]] runs to ensure your project can
* actually be generated with g8 and then run the
* [[io.kipp.mill.giter8.G8Module.validationTargets]] against that project.
*
* @return
* the result of the validation
Expand Down

0 comments on commit f2469f7

Please sign in to comment.