Skip to content

Commit

Permalink
Community health (#1)
Browse files Browse the repository at this point in the history
* removed COC (moved to `.github` repository)

* removed funding

* added Github actions
  • Loading branch information
Aaronontheweb authored Nov 3, 2021
1 parent dc504cc commit cb2743a
Show file tree
Hide file tree
Showing 5 changed files with 76 additions and 85 deletions.
9 changes: 0 additions & 9 deletions .github/FUNDING.yml

This file was deleted.

8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: nuget
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
31 changes: 31 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build and test

on:
push:
pull_request:
branches: [ master,dev ]
paths:
- '**.cs'
- '**.csproj'

env:
DOTNET_VERSION: '5.0' # The .NET SDK version to use

jobs:
build-and-test:

name: build-and-test-${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: FAKE
run: build/fake.cmd default
37 changes: 37 additions & 0 deletions .github/workflows/publish-nuget.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Publish NuGet

on:
push:
tags:
- '*'

jobs:
publish-nuget:

name: publish-nuget
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: Publish package
run: ./build.cmd Push nugetpublishurl=https://api.nuget.org/v3/index.json nugetkey="${{secrets.NUGET_API_KEY}}"

- name: release
uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: false
release_name: ${{ steps.version.outputs.version }}
tag_name: ${{ github.ref }}
body_path: RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ github.token }}
76 changes: 0 additions & 76 deletions CODE_OF_CONDUCT.md

This file was deleted.

0 comments on commit cb2743a

Please sign in to comment.