Skip to content

Commit b1467e4

Browse files
authored
Merge pull request #30 from autofac/feature/update-to-github-actions
Convert from AppVeyor to GitHub Actions CI
2 parents 6788fcf + 8d7af00 commit b1467e4

123 files changed

Lines changed: 509 additions & 4480 deletions

File tree

Some content is hidden

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

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build
2+
3+
on:
4+
workflow_call:
5+
6+
jobs:
7+
build:
8+
runs-on: windows-latest
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v6
12+
13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v5
15+
with:
16+
dotnet-version: 10.0.x
17+
18+
- name: Build
19+
run: dotnet build Examples.slnx --configuration Release

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- develop
8+
- "feature/**"
9+
pull_request:
10+
branches:
11+
- develop
12+
13+
jobs:
14+
build:
15+
uses: ./.github/workflows/build.yml

.pre-commit-config.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: "3e8a8703264a2f4a69428a0aa4dcb512790b2c8c" # frozen: v6.0.0
4+
hooks:
5+
- id: check-json
6+
- id: check-yaml
7+
- id: check-merge-conflict
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
- repo: https://github.com/igorshubovych/markdownlint-cli
11+
rev: "e72a3ca1632f0b11a07d171449fe447a7ff6795e" # frozen: v0.48.0
12+
hooks:
13+
- id: markdownlint
14+
args:
15+
- --fix
16+
- repo: https://github.com/tillig/json-sort-cli
17+
rev: "2b7e147e0933bd30b58133b6f287e5c695ff4f0e" # frozen: v3.0.1
18+
hooks:
19+
- id: json-sort
20+
args:
21+
- --autofix

.vscode/tasks.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
{
2-
"tasks": [
3-
{
4-
"args": [
5-
"build",
6-
"Examples.sln",
7-
"/property:GenerateFullPaths=true",
8-
"/consoleloggerparameters:NoSummary"
9-
],
10-
"command": "dotnet",
11-
"group": {
12-
"isDefault": true,
13-
"kind": "build"
14-
},
15-
"label": "build",
16-
"presentation": {
17-
"reveal": "silent"
18-
},
19-
"problemMatcher": "$msCompile",
20-
"type": "shell"
21-
}
22-
],
23-
"version": "2.0.0"
24-
}
1+
{
2+
"tasks": [
3+
{
4+
"args": [
5+
"build",
6+
"Examples.slnx",
7+
"/property:GenerateFullPaths=true",
8+
"/consoleloggerparameters:NoSummary"
9+
],
10+
"command": "dotnet",
11+
"group": {
12+
"isDefault": true,
13+
"kind": "build"
14+
},
15+
"label": "build",
16+
"presentation": {
17+
"reveal": "silent"
18+
},
19+
"problemMatcher": "$msCompile",
20+
"type": "shell"
21+
}
22+
],
23+
"version": "2.0.0"
24+
}

Examples.sln

Lines changed: 0 additions & 202 deletions
This file was deleted.

Examples.slnx

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<Solution>
2+
<Folder Name="/src/">
3+
<Project Path="src/AspNetCoreChildLifetimeScope/AspNetCoreChildLifetimeScope.csproj" />
4+
<Project Path="src/AspNetCoreExample/AspNetCoreExample.csproj" />
5+
<Project Path="src/AspNetCoreNoStartupExample/AspNetCoreNoStartupExample.csproj" />
6+
<Project Path="src/AttributeMetadataExample/AttributeMetadataExample.csproj" />
7+
<Project Path="src/ConfigurationExample/ConfigurationExample.csproj" />
8+
<Project Path="src/ConfigurationExampleInterface/ConfigurationExampleInterface.csproj" />
9+
<Project Path="src/ConfigurationExamplePlugin/ConfigurationExamplePlugin.csproj" />
10+
<Project Path="src/GenericHostBuilderExample/GenericHostBuilderExample.csproj" />
11+
<Project Path="src/MultitenantExample.ConsoleApplication/MultitenantExample.ConsoleApplication.csproj" />
12+
<Project Path="src/MultitenantExample.MvcApplication/MultitenantExample.MvcApplication.csproj" />
13+
<Project Path="src/MultitenantExample.WcfService/MultitenantExample.WcfService.csproj" />
14+
<Project Path="src/MvcExample/MvcExample.csproj" />
15+
<Project Path="src/WcfExample/WcfExample.csproj" />
16+
<Project Path="src/WebApiExample.OwinSelfHost/WebApiExample.OwinSelfHost.csproj" />
17+
<Project Path="src/WebFormsExample/WebFormsExample.csproj" />
18+
</Folder>
19+
</Solution>

NuGet.Config

Lines changed: 0 additions & 11 deletions
This file was deleted.

appveyor.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)