Skip to content

Commit

Permalink
Add GitHub Actions as the CI runner
Browse files Browse the repository at this point in the history
We are working on consolidating all CI to GitHub Actions.
  • Loading branch information
jasonroelofs committed Mar 22, 2024
1 parent 61d0f2f commit d2d3dff
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches:
- 'main'
pull_request: {}

defaults:
run:
shell: bash

jobs:
test:
name: Test C# ${{ matrix.dotnet }}
runs-on: ubuntu-latest
strategy:
matrix:
dotnet: [ '3.x', '6.x', '7.x', '8.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup dotNet
uses: actions/setup-dotnet@v3
with:
dotnet-version: ${{ matrix.dotnet }}
- name: Test
run: |
dotnet build -c Debug src/WorkOS.net/WorkOS.net.csproj
dotnet build -c Debug test/WorkOSTests/WorkOSTests.csproj
dotnet test -c Debug -f netcoreapp3.1 test/WorkOSTests/WorkOSTests.csproj

0 comments on commit d2d3dff

Please sign in to comment.