Skip to content

Add GitHub App OAuth authentication (#70, #71) #32

Add GitHub App OAuth authentication (#70, #71)

Add GitHub App OAuth authentication (#70, #71) #32

Workflow file for this run

name: CI
on:
push:
branches: [ development, main, 'project/**' ]
pull_request:
branches: [ development, main, 'project/**' ]
jobs:
lint-markdown:
name: Lint Markdown
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Lint Markdown
uses: nosborn/github-action-markdown-cli@v3.3.0
with:
files: .
config_file: .markdownlint.json
build:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Check code formatting
run: dotnet format --verify-no-changes --verbosity diagnostic
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --configuration Release --no-build --verbosity normal
code-quality:
name: Code Quality Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Analyze with StyleCop
run: dotnet build --configuration Release /p:TreatWarningsAsErrors=true