-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from fsprojects/upgrade-build
Upgrade build
- Loading branch information
Showing
27 changed files
with
1,016 additions
and
1,305 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version": 1, | ||
"isRoot": true, | ||
"tools": { | ||
"fake-cli": { | ||
"version": "5.19.1", | ||
"commands": [ | ||
"fake" | ||
] | ||
}, | ||
"paket": { | ||
"version": "5.242.2", | ||
"commands": [ | ||
"paket" | ||
] | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To learn more about .editorconfig see https://aka.ms/editorconfigdocs | ||
|
||
# All files | ||
[*] | ||
indent_style = space | ||
|
||
# Xml files | ||
[*.xml] | ||
indent_size = 2 | ||
|
||
# fsharp files | ||
[*.{fs, fsx}] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
### Description | ||
|
||
> Short and descriptive example bug report title | ||
> A summary of the issue and the environment in which it occurs. If suitable, | ||
> include the steps required to reproduce the bug. | ||
### Reproduction steps | ||
|
||
> 1. This is the first step | ||
> 2. This is the second step | ||
> 3. Further steps, etc. | ||
### Reproduction code | ||
|
||
> `<url>` - a link to the reduced test case (e.g. a GitHub Gist) | ||
### Other info | ||
|
||
> Any other information you want to share that is relevant to the issue being | ||
> reported. This might include the lines of code that you have identified as | ||
> causing the bug, and potential solutions (and your opinions on their | ||
> merits). |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### Description | ||
|
||
> Description of the requested feature | ||
### Potential alternatives | ||
|
||
> 1. This is the first step | ||
> 2. This is the second step | ||
> 3. Further steps, etc. | ||
### Other info | ||
|
||
> Any other information you want to share that is relevant to the feature request |
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 |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
dotnet: [3.1.201] | ||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Restore tools | ||
run: dotnet tool restore | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Run build | ||
run: dotnet fake build -t Build | ||
|
||
test: | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
dotnet: [3.1.201] | ||
runs-on: ${{ matrix.os }} | ||
|
||
services: | ||
dynamodb-local: | ||
image: amazon/dynamodb-local | ||
ports: | ||
- 8000:8000 | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: ${{ matrix.dotnet }} | ||
- name: Restore tools | ||
run: dotnet tool restore | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Run tests | ||
run: dotnet fake build -t Test |
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Release docs | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup .NET Core | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 3.1.201 | ||
- name: Restore tools | ||
run: dotnet tool restore | ||
- name: Restore dependencies | ||
run: dotnet restore | ||
- name: Generate docs | ||
run: dotnet fake build -t Docs | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
personal_token: ${{ secrets.PERSONAL_TOKEN }} | ||
publish_dir: ./docs/_public | ||
publish_branch: gh-pages | ||
force_orphan: true |
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 |
---|---|---|
|
@@ -215,3 +215,6 @@ temp/* | |
paket-files/* | ||
xunit.html | ||
/db | ||
.DS_Store | ||
.ionide/ | ||
.vscode/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.