Skip to content

Commit

Permalink
Setup GitHub workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gao-sun committed Feb 1, 2024
1 parent aae81cd commit 3672e55
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Main

on:
push:
branches:
- develop
- master
pull_request_target:

jobs:
main:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
dotnet: ['7.0.x', '8.0.x']

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4

- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: ${{ matrix.dotnet }}

- name: Build
working-directory: src/Blorc.OpenIdConnect
run: |
dotnet build
- name: Test
working-directory: src/Blorc.OpenIdConnect.Tests
run: |
dotnet test
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ build.cakeoverrides
TestResults
.vs/
.sonarqube/
.github/
BundleArtifacts/

# docker / tye
Expand Down

0 comments on commit 3672e55

Please sign in to comment.