Skip to content

chore: Migrate from CircleCI to GitHub Actions #8

chore: Migrate from CircleCI to GitHub Actions

chore: Migrate from CircleCI to GitHub Actions #8

Workflow file for this run

name: Quality control
on:
push:
branches: [main, 'feat/**']
paths-ignore:
- '**.md' # Do not need to run CI for markdown changes.
pull_request:
branches: [main, 'feat/**']
paths-ignore:
- '**.md'
jobs:
build-and-test:
strategy:
matrix:
version: [6.x, 7.x]
fail-fast: false
runs-on: ubuntu-latest
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: true
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v4
- name: Setup dotnet build tools
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.version }}
- name: Restore Dependencies
run: dotnet restore
- name: Build
shell: bash
run: dotnet build
- name: Run Unit Tests
run: dotnet test