mirror of
https://github.com/XFox111/SimpleOTP.git
synced 2026-04-22 08:00:45 +03:00
1b989e7b35
* 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
41 lines
809 B
YAML
41 lines
809 B
YAML
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
|