Skip to content

Small Improvements with the Azure Function and the GitHub Action Workflow #144

@dsanchezcr

Description

@dsanchezcr

The CI/CD workflows for the azure-static-web-app.yml and api.yml are being executed twice when the PR is merged, one in the feature branch and another in the main branch. Once the PR is merged it should be executed in the main branch.

Also the Azure Function build process is showing the following warnings:

build: api/GetWeather.cs#L172Converting null literal or possible null value to non-nullable type.
build: api/GetWeather.cs#L113Converting null literal or possible null value to non-nullable type.
build: api/GetWeather.cs#L112Converting null literal or possible null value to non-nullable type.
build: api/GetWeather.cs#L111Converting null literal or possible null value to non-nullable type.
build: api/GetWeather.cs#L29Non-nullable property 'Icon' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: api/GetWeather.cs#L28Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: api/GetWeather.cs#L24Non-nullable property 'Location' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: api/GetWeather.cs#L19Non-nullable property 'Timezone' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: api/GetWeather.cs#L16Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions