Skip to content
Open
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
47 changes: 47 additions & 0 deletions .github/workflows/richnav-all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
### This template is meant to be used by a .NET Core repository running RichNav
### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository

name: Rich Code Navigation

on:
pull_request:
push:
branches: [ master ]

jobs:
richnav:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2

# **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** #
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

# **** Please change 'working-directory' to be the location where your .SLN file is located **** #
- name: Install dependencies
run: dotnet restore
working-directory: ./csharp

# **** Please change the version of Node being used to the one for your project **** #
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- run: yarn
working-directory: typescript

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- uses: microsoft/RichCodeNavIndexer@v0.1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
languages: csharp,java,typescript,cpp
33 changes: 33 additions & 0 deletions .github/workflows/richnav-csharp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
### This template is meant to be used by a .NET Core repository running RichNav
### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository
name: Rich Code Navigation (.NET Core)

on:
pull_request:
push:
branches: [ master ]

jobs:
build:

runs-on: windows-latest

steps:

- uses: actions/checkout@v2

# **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** #
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101

# **** Please change 'working-directory' to be the location where your .SLN file is located **** #
- name: Install dependencies
run: dotnet restore
working-directory: ./csharp

- uses: microsoft/RichCodeNavIndexer@v0.1
with:
languages: csharp
repo-token: ${{ secrets.GITHUB_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/richnav-java.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
### This template is meant to be used by a .NET Core repository running RichNav
### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository

name: Rich Code Navigation (Java with Maven)

on:
pull_request:
push:
branches: [ master ]

jobs:
richnav:

runs-on: windows-latest

steps:
- uses: actions/checkout@v2

- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8

- uses: microsoft/RichCodeNavIndexer@v0.1
with:
languages: java
repo-token: ${{ secrets.GITHUB_TOKEN }}
35 changes: 35 additions & 0 deletions .github/workflows/richnav-typescript.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
### This template is meant to be used by a .NET Core repository running RichNav
### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository

name: Rich Code Navigation (Node JS)

on:
pull_request:
push:
branches: [ master ]

jobs:
richnav:

runs-on: windows-latest

# **** If necessary, use the Node version for your repository. Note: must be greater than 10.x **** #
strategy:
matrix:
node-version: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: yarn
working-directory: typescript

- uses: microsoft/RichCodeNavIndexer@v0.1
with:
languages: typescript
repo-token: ${{ secrets.GITHUB_TOKEN }}

3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore

# TypeScript
typescript/lib
node_modules
.vscode/

# User-specific files
Expand Down
10 changes: 10 additions & 0 deletions typescript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "tester-game",
"version": "0.0.1",
"description": "A simple Typescript game to test things",
"main": "App.js",
"license": "MIT",
"scripts": {
"build": "tsc -p ./"
}
}
4 changes: 4 additions & 0 deletions typescript/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1