-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into global-json
- Loading branch information
Showing
206 changed files
with
28,121 additions
and
15,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,91 @@ | ||
| name: Main workflow | ||
| on: [push] | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - master | ||
| - releases/* | ||
|
|
||
| jobs: | ||
| run: | ||
| name: Run | ||
| build: | ||
| runs-on: ${{ matrix.operating-system }} | ||
| strategy: | ||
| matrix: | ||
| operating-system: [ubuntu-latest, windows-latest] | ||
| operating-system: [ubuntu-latest, windows-latest, macOS-latest] | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@master | ||
|
|
||
| - name: Set Node.js 10.x | ||
| uses: actions/setup-node@master | ||
| uses: actions/checkout@v2 | ||
| - name: Set Node.js 12 | ||
| uses: actions/setup-node@v1 | ||
| with: | ||
| version: 10.x | ||
| version: 12.x | ||
| - run: npm ci | ||
| - run: npm run build | ||
| - run: npm run format-check | ||
| - run: npm test | ||
| - name: Verify no unstaged changes | ||
| if: runner.os != 'windows' | ||
| run: __tests__/verify-no-unstaged-changes.sh | ||
|
|
||
| - name: npm install | ||
| run: npm install | ||
| test: | ||
| runs-on: ${{ matrix.operating-system }} | ||
| strategy: | ||
| matrix: | ||
| operating-system: [ubuntu-latest, windows-latest, macOS-latest] | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Clear tool cache | ||
| run: mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old" | ||
| - name: Setup dotnet 3.0.100 | ||
| uses: ./ | ||
| with: | ||
| dotnet-version: 3.0.100 | ||
| - name: Verify dotnet | ||
| if: runner.os != 'windows' | ||
| run: __tests__/verify-dotnet.sh 3.0.100 | ||
| - name: Verify dotnet (Windows) | ||
| if: runner.os == 'windows' | ||
| run: __tests__/verify-dotnet.ps1 3.0.100 | ||
|
|
||
| - name: Lint | ||
| run: npm run format-check | ||
| test-proxy: | ||
| runs-on: ubuntu-latest | ||
| container: | ||
| image: mcr.microsoft.com/dotnet/core/runtime-deps:3.0-bionic | ||
| options: --dns 127.0.0.1 | ||
| services: | ||
| squid-proxy: | ||
| image: datadog/squid:latest | ||
| ports: | ||
| - 3128:3128 | ||
| env: | ||
| https_proxy: http://squid-proxy:3128 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Clear tool cache | ||
| run: rm -rf $RUNNER_TOOL_CACHE/* | ||
| - name: Setup dotnet 3.0.100 | ||
| uses: ./ | ||
| with: | ||
| dotnet-version: 3.0.100 | ||
| - name: Verify dotnet | ||
| run: __tests__/verify-dotnet.sh 3.0.100 | ||
|
|
||
| - name: npm test | ||
| run: npm test | ||
| test-bypass-proxy: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| https_proxy: http://no-such-proxy:3128 | ||
| no_proxy: github.com,dotnetcli.blob.core.windows.net,download.visualstudio.microsoft.com,api.nuget.org | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v2 | ||
| - name: Clear tool cache | ||
| run: mv "${{ runner.tool_cache }}" "${{ runner.tool_cache }}.old" | ||
| - name: Setup dotnet 3.0.100 | ||
| uses: ./ | ||
| with: | ||
| dotnet-version: 3.0.100 | ||
| - name: Verify dotnet | ||
| run: __tests__/verify-dotnet.sh 3.0.100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,98 @@ | ||
| # runtime dependencies are checked in | ||
| # dev dependencies are *not* checked in | ||
| node_modules/.bin | ||
| node_modules/typescript | ||
| node_modules/@types | ||
| node_modules/prettier | ||
| global.json | ||
| lib/ | ||
| node_modules/ | ||
| __tests__/runner/* | ||
| global.json | ||
| __tests__/sample-csproj/bin/ | ||
| __tests__/sample-csproj/obj/ | ||
|
|
||
| # Rest of the file pulled from https://github.com/github/gitignore/blob/master/Node.gitignore | ||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| lerna-debug.log* | ||
|
|
||
| # Diagnostic reports (https://nodejs.org/api/report.html) | ||
| report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | ||
|
|
||
| # Runtime data | ||
| pids | ||
| *.pid | ||
| *.seed | ||
| *.pid.lock | ||
|
|
||
| # Directory for instrumented libs generated by jscoverage/JSCover | ||
| lib-cov | ||
|
|
||
| # Coverage directory used by tools like istanbul | ||
| coverage | ||
| *.lcov | ||
|
|
||
| # nyc test coverage | ||
| .nyc_output | ||
|
|
||
| # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | ||
| .grunt | ||
|
|
||
| # Bower dependency directory (https://bower.io/) | ||
| bower_components | ||
|
|
||
| # node-waf configuration | ||
| .lock-wscript | ||
|
|
||
| # Compiled binary addons (https://nodejs.org/api/addons.html) | ||
| build/Release | ||
|
|
||
| # Dependency directories | ||
| jspm_packages/ | ||
|
|
||
| # TypeScript v1 declaration files | ||
| typings/ | ||
|
|
||
| # TypeScript cache | ||
| *.tsbuildinfo | ||
|
|
||
| # Optional npm cache directory | ||
| .npm | ||
|
|
||
| # Optional eslint cache | ||
| .eslintcache | ||
|
|
||
| # Optional REPL history | ||
| .node_repl_history | ||
|
|
||
| # Output of 'npm pack' | ||
| *.tgz | ||
|
|
||
| # Yarn Integrity file | ||
| .yarn-integrity | ||
|
|
||
| # dotenv environment variables file | ||
| .env | ||
| .env.test | ||
|
|
||
| # parcel-bundler cache (https://parceljs.org/) | ||
| .cache | ||
|
|
||
| # next.js build output | ||
| .next | ||
|
|
||
| # nuxt.js build output | ||
| .nuxt | ||
|
|
||
| # vuepress build output | ||
| .vuepress/dist | ||
|
|
||
| # Serverless directories | ||
| .serverless/ | ||
|
|
||
| # FuseBox cache | ||
| .fusebox/ | ||
|
|
||
| # DynamoDB Local files | ||
| .dynamodb/ | ||
|
|
||
| .vscode/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.