Skip to content

Support net8.0 and handle conflicts with IPNetwork then ensure ASPNET packages also support net6 for uniformity #62

Support net8.0 and handle conflicts with IPNetwork then ensure ASPNET packages also support net6 for uniformity

Support net8.0 and handle conflicts with IPNetwork then ensure ASPNET packages also support net6 for uniformity #62

Workflow file for this run

name: Validate PR
on:
pull_request:
branches:
- main
paths-ignore:
- README.md
- '**/README.md'
- LICENSE
- CHANGELOG.md
- docs/**
env:
APNSTEST__BUNDLEID: ${{ vars.APNSTEST__BUNDLEID }}
APNSTEST__DEVICETOKEN: ${{ secrets.APNSTEST__DEVICETOKEN }}
APNSTEST__ENVIRONMENT: 'Production'
APNSTEST__KEYID: ${{ secrets.APNSTEST__KEYID }}
APNSTEST__PRIVATEKEY: ${{ secrets.APNSTEST__PRIVATEKEY }}
APNSTEST__TEAMID: ${{ vars.APNSTEST__TEAMID }}
FCMLEGACYTEST__KEY: ${{ secrets.FCMLEGACYTEST__KEY }}
FCMLEGACYTEST__REGISTRATIONID: ${{ secrets.FCMLEGACYTEST__REGISTRATIONID }}
FIREBASETEST__CLIENTEMAIL: ${{ secrets.FIREBASETEST__CLIENTEMAIL }}
FIREBASETEST__DEVICETOKEN: ${{ secrets.FIREBASETEST__DEVICETOKEN }}
FIREBASETEST__PRIVATEKEY: ${{ secrets.FIREBASETEST__PRIVATEKEY }}
FIREBASETEST__PROJECTID: ${{ vars.FIREBASETEST__PROJECTID }}
FIREBASETEST__TOKENURI: ${{ vars.FIREBASETEST__TOKENURI }}
jobs:
Build:
runs-on: ubuntu-latest
env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Start MongoDB
uses: supercharge/[email protected]
with:
mongodb-version: '6'
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build