Skip to content

Commit c4a8af1

Browse files
committed
Merge branch 'wangbill/http_v2' of https://github.com/Azure/azure-functions-python-worker into wangbill/http_v2
2 parents 3608c23 + 8d8e4ab commit c4a8af1

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/linter.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ jobs:
2626
name: Lint Code Base
2727
# Set the agent to run on
2828
runs-on: ubuntu-latest
29-
permissions: read-all
30-
29+
permissions:
30+
contents: read
31+
packages: read
32+
# To report GitHub Actions status checks
33+
statuses: write
3134
##################
3235
# Load all steps #
3336
##################

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,8 @@ def _compile_webhost(webhost_dir: pathlib.Path):
417417

418418
try:
419419
subprocess.run(
420-
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin"],
420+
args=["dotnet", "build", "WebJobs.Script.sln", "-o", "bin",
421+
"/p:TreatWarningsAsErrors=false"],
421422
check=True,
422423
cwd=str(webhost_dir),
423424
stdout=sys.stdout,

0 commit comments

Comments
 (0)