diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml new file mode 100644 index 0000000..90fdcbf --- /dev/null +++ b/.github/workflows/unit-tests.yml @@ -0,0 +1,24 @@ +name: tests + +on: + push: + branches: + - '*' +jobs: + deploy: + runs-on: windows-latest + steps: + # Checkout the code + - uses: actions/checkout@v3 + + # Install .NET Core SDK + - name: Setup .NET Core + uses: actions/setup-dotnet@v3 + with: + dotnet-version: '8.0.x' + dotnet-quality: 'preview' + + # Perform unit tests + - name: Perform unit tests + run: dotnet test IPAddressRange.Test -l "console;verbosity=normal" -v:q --nologo + diff --git a/_dist/.gitkeep b/_dist/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/global.json b/global.json new file mode 100644 index 0000000..ac90feb --- /dev/null +++ b/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "8.0.0", + "allowPrerelease": true, + "rollForward": "latestMinor" + } +} \ No newline at end of file