Skip to content

chore: Bump supported .NET versions to net462 and net6.0+ #314

chore: Bump supported .NET versions to net462 and net6.0+

chore: Bump supported .NET versions to net462 and net6.0+ #314

Workflow file for this run

name: Continuous Integration
on: pull_request
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
dotnet-version: [ 3.1.x, 6.0.x ]
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: 1
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Install dependencies
run: dotnet msbuild /t:restore FirebaseAdmin
- name: Build with dotnet
run: |
dotnet msbuild FirebaseAdmin/FirebaseAdmin
dotnet msbuild FirebaseAdmin/FirebaseAdmin.Snippets
dotnet msbuild FirebaseAdmin/FirebaseAdmin.IntegrationTests
- name: Run unit tests
run: dotnet test FirebaseAdmin/FirebaseAdmin.Tests