mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
Major 2.0 (#20)
* New 2.0 version + DependencyInjection library * Updated docs and repo settings (devcontainers, vscode, github, etc.) * Added tests * Fixed bugs * Minor test project refactoring * Updated projects - Added symbol packages - Updated package versions to pre-release * Updated SECURITY.md * Added GitHub Actions workflows
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
name: "Build workflow"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "LICENSE"
|
||||
- "PRIVACY"
|
||||
- ".github/*"
|
||||
- ".vscode/*"
|
||||
- ".devcontainer/*"
|
||||
- "!.github/workflows/pr-workflow.yml"
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "LICENSE"
|
||||
- "PRIVACY"
|
||||
- ".github/*"
|
||||
- ".vscode/*"
|
||||
- ".devcontainer/*"
|
||||
- "!.github/workflows/pr-workflow.yml"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup .NET
|
||||
uses: actions/setup-dotnet@v4
|
||||
with:
|
||||
dotnet-version: 8.0.x
|
||||
|
||||
- run: dotnet restore
|
||||
- run: dotnet build --no-restore
|
||||
- run: dotnet test --no-restore --verbosity normal
|
||||
Reference in New Issue
Block a user