Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chores #1

Merged
merged 3 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
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