Skip to content

Commit 74772bd

Browse files
committed
Merge branch 'release/1.0.0'
2 parents 2c2c5fd + 6fbba30 commit 74772bd

41 files changed

Lines changed: 527 additions & 718 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.appveyor.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
image:
2+
- Visual Studio 2019
3+
4+
test: off
5+
build: off
6+
7+
skip_branch_with_pr: true
8+
branches:
9+
only:
10+
- develop
11+
- master
12+
- /release/.*/
13+
- /hotfix/.*/
14+
15+
build_script:
16+
- ps: .\build.ps1 --target=CI
17+
18+
cache:
19+
- tools -> recipe.cake

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"cake.tool": {
6+
"version": "0.38.5",
7+
"commands": [
8+
"dotnet-cake"
9+
]
10+
}
11+
}
12+
}

.gitattributes

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
*.cs text diff=csharp
7+
8+
*.ps1 text eol=crlf
9+
*.bat text eol=crlf
10+
*.sln text eol=crlf
11+
*.csproj text eol=crlf
12+
tasks.json text eol=crlf
13+
14+
*.sh text eol=lf
15+
16+
*.md text whitespace=-trailing-space
17+
18+
# Exclude files from exporting
19+
20+
.gitattributes export-ignore
21+
.gitignore export-ignore

.github/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
target-branch: "develop"
8+
ignore:
9+
- dependency-name: "Cake.Core"
10+
- dependency-name: "Cake.Common"
11+
- dependency-name: "Cake.Testing"
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "daily"
16+
target-branch: "develop"

.github/workflows/build.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- "README.md"
7+
pull_request:
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
13+
strategy:
14+
matrix:
15+
os: [windows-latest, ubuntu-latest, macos-latest]
16+
17+
steps:
18+
- name: Checkout the repository
19+
uses: actions/checkout@v2
20+
21+
- name: Fetch all tags and branches
22+
run: git fetch --prune --unshallow
23+
24+
- name: Cache Tools
25+
uses: actions/cache@v2
26+
with:
27+
path: tools
28+
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
29+
30+
- name: Build project
31+
uses: cake-build/cake-action@v1
32+
with:
33+
script-path: recipe.cake
34+
target: CI
35+
verbosity: Diagnostic
36+
cake-version: 0.38.5
37+
cake-bootstrap: true
38+
39+
# currently, Cake.Recipe does not upload artifacts when run on gh-actions
40+
- name: Upload Issues
41+
uses: actions/upload-artifact@v2
42+
with:
43+
if-no-files-found: warn
44+
name: ${{ matrix.os }} Issues
45+
path: |
46+
BuildArtifacts/report.html
47+
BuildArtifacts/**/coverlet/*.xml
48+
49+
- name: Upload Packages
50+
uses: actions/upload-artifact@v2
51+
if: matrix.os == 'windows-latest'
52+
with:
53+
if-no-files-found: warn
54+
name: package
55+
path: BuildArtifacts/Packages/**/*
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
pull_request:
7+
branches: [develop]
8+
schedule:
9+
- cron: '0 15 * * 6'
10+
11+
jobs:
12+
analyze:
13+
name: Analyze
14+
runs-on: ubuntu-latest
15+
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
language: ['csharp']
20+
21+
steps:
22+
- name: Checkout repository
23+
uses: actions/checkout@v2
24+
with:
25+
fetch-depth: 0
26+
27+
- run: git checkout HEAD^2
28+
if: ${{ github.event_name == 'pull_request' }}
29+
30+
- name: Initialize CodeQL
31+
uses: github/codeql-action/init@v1
32+
with:
33+
languages: ${{ matrix.language }}
34+
35+
- run: ./build.ps1
36+
shell: pwsh
37+
38+
- name: Perform CodeQL Analysis
39+
uses: github/codeql-action/analyze@v1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Run dependabot for cake
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
# run everyday at 6
6+
- cron: '0 6 * * *'
7+
8+
jobs:
9+
dependabot-cake:
10+
runs-on: ubuntu-latest # linux, because this is a docker-action
11+
steps:
12+
- name: check/update cake dependencies
13+
uses: nils-org/dependabot-cake-action@v1

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ __pycache__/
271271
*.pyc
272272

273273
# Cake - Uncomment if you are using it
274-
tools/**
275-
!tools/packages.config
274+
tools/
276275

277-
dist/**
276+
[Bb]uild[Aa]rtifacts/
277+
/src/Cake.BuildSystems.Module/icon.png

GitReleaseManager.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
create:
2+
include-footer: true
3+
footer-heading: Where to get it
4+
footer-content: >
5+
You can download this release from
6+
[nuget](https://nuget.org/packages/Cake.BuildSystems.Module/{milestone}),
7+
or you can just reference it in a cake build script
8+
with `#module nuget:?package=Cake.BuildSystems.Module&version={milestone}`.
9+
footer-includes-milestone: true
10+
milestone-replace-text: "{milestone}"
11+
export:
12+
include-created-date-in-title: true
13+
created-date-string-format: yyyy-MM-dd
14+
perform-regex-removal: true
15+
regex-text: '[\r\n]*### Where to get it[\r\n]*You can .*`\.[\r\n]*'
16+
multiline-regex: true
17+
issue-labels-include:
18+
- Breaking change
19+
- Bug
20+
- Feature
21+
- Enhancement
22+
- Improvement
23+
- Documentation
24+
- security
25+
issue-labels-exclude:
26+
- Build
27+
- Internal / Refactoring
28+
issue-labels-alias:
29+
- name: Documentation
30+
header: Documentation
31+
plural: Documentation
32+
- name: security
33+
header: Security
34+
plural: Security

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Alistair Chapman
3+
Copyright (c) 2017-2021 Alistair Chapman
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)