Open maciej-bielecki opened 1 year ago
Added .net6 runtime version to configs. Without it we were not able to use this runtime in serverless.yml. Closes #614
serverless.yml
I've added DOTNET60 to enum Runtime, other necessary structures and register commands so that it can be build.
Use runtime: dotnet6.0 in serverless.yml file. Use project targeting net6.0, also azure functions v4 can be used:
runtime: dotnet6.0
Examples:
... provider: name: azure region: West Europe functionApp: extensionVersion: '~4' runtime: dotnet6.0 ...
<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net6.0</TargetFramework> <AzureFunctionsVersion>v4</AzureFunctionsVersion> ...
Note: Run npm run test:ci to run all validation checks on proposed changes
npm run test:ci
npm run lint
npm run lint:fix
npm test
Is this ready for review?: YES Is it a breaking change?: NO
Any plans on getting this PR merged?
What did you implement:
Added .net6 runtime version to configs. Without it we were not able to use this runtime in
serverless.yml
. Closes #614How did you implement it:
I've added DOTNET60 to enum Runtime, other necessary structures and register commands so that it can be build.
How can we verify it:
Use
runtime: dotnet6.0
inserverless.yml
file. Use project targeting net6.0, also azure functions v4 can be used:Examples:
Todos:
Note: Run
npm run test:ci
to run all validation checks on proposed changesValidate via
npm run lint
Note: Some reported issues can be automatically fixed by running
npm run lint:fix
Validate via
npm test
Is this ready for review?: YES Is it a breaking change?: NO