Add CI/CD
Add Standard .dotnet CICD
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: s&box CI
|
name: s&box CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: []
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-lint:
|
build-and-lint:
|
||||||
@@ -12,15 +12,4 @@ jobs:
|
|||||||
- name: Setup .NET
|
- name: Setup .NET
|
||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.x'
|
dotnet-version: '10.0.x'
|
||||||
|
|
||||||
- name: Restore Dependencies
|
|
||||||
run: dotnet restore
|
|
||||||
|
|
||||||
- name: Lint Check
|
|
||||||
# Fails if code isn't formatted according to .editorconfig
|
|
||||||
run: dotnet format --verify-no-changes --verbosity diagnostic
|
|
||||||
|
|
||||||
- name: Build Project
|
|
||||||
# Ensures everything compiles
|
|
||||||
run: dotnet build --no-restore --configuration Release
|
|
||||||
|
|||||||
Reference in New Issue
Block a user