Compare commits
1 Commits
feat/3-cic
...
64fb193601
| Author | SHA1 | Date | |
|---|---|---|---|
| 64fb193601 |
@@ -1,6 +1,6 @@
|
|||||||
name: s&box CI
|
name: s&box CI
|
||||||
|
|
||||||
on: []
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-lint:
|
build-and-lint:
|
||||||
@@ -13,3 +13,14 @@ jobs:
|
|||||||
uses: actions/setup-dotnet@v4
|
uses: actions/setup-dotnet@v4
|
||||||
with:
|
with:
|
||||||
dotnet-version: '10.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