1
0
mirror of https://github.com/XFox111/SimpleOTP.git synced 2026-04-22 08:00:45 +03:00
Files
SimpleOTP/.github/workflows/pr-workflow.yml
T
xfox111 1b989e7b35 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
2024-09-26 03:20:30 +03:00

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