Skip to content

Commit 9411ad6

Browse files
Merge branch 'main' into feature/dapr-ext-grpc-aio
2 parents c0f90f9 + f00f1d8 commit 9411ad6

File tree

9 files changed

+17
-14
lines changed

9 files changed

+17
-14
lines changed

.github/workflows/build-push-to-main.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v5
1414
- name: Set up Python 3.9
1515
uses: actions/setup-python@v5
1616
with:
@@ -42,7 +42,7 @@ jobs:
4242
matrix:
4343
python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v5
4646
- name: Set up Python ${{ matrix.python_ver }}
4747
uses: actions/setup-python@v5
4848
with:
@@ -66,7 +66,7 @@ jobs:
6666
env:
6767
TWINE_USERNAME: "__token__"
6868
steps:
69-
- uses: actions/checkout@v4
69+
- uses: actions/checkout@v5
7070
- name: Set up Python 3.9
7171
uses: actions/setup-python@v5
7272
with:

.github/workflows/build-tag.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
lint:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v4
17+
- uses: actions/checkout@v5
1818
- name: Set up Python 3.9
1919
uses: actions/setup-python@v5
2020
with:
@@ -46,7 +46,7 @@ jobs:
4646
matrix:
4747
python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"]
4848
steps:
49-
- uses: actions/checkout@v4
49+
- uses: actions/checkout@v5
5050
- name: Set up Python ${{ matrix.python_ver }}
5151
uses: actions/setup-python@v5
5252
with:
@@ -70,7 +70,7 @@ jobs:
7070
env:
7171
TWINE_USERNAME: "__token__"
7272
steps:
73-
- uses: actions/checkout@v4
73+
- uses: actions/checkout@v5
7474
- name: Set up Python 3.9
7575
uses: actions/setup-python@v5
7676
with:

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
lint:
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v5
2020
- name: Set up Python 3.9
2121
uses: actions/setup-python@v5
2222
with:
@@ -48,7 +48,7 @@ jobs:
4848
matrix:
4949
python_ver: ["3.9", "3.10", "3.11", "3.12", "3.13"]
5050
steps:
51-
- uses: actions/checkout@v4
51+
- uses: actions/checkout@v5
5252
- name: Set up Python ${{ matrix.python_ver }}
5353
uses: actions/setup-python@v5
5454
with:

.github/workflows/dapr-bot-schedule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: Checkout repo
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828
- name: Install dependencies
2929
run: pip install PyGithub
3030
- name: Automerge and update

.github/workflows/fossa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
FOSSA_API_KEY: b88e1f4287c3108c8751bf106fb46db6 # This is a push-only token that is safe to be exposed.
4141
steps:
4242
- name: "Checkout code"
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v5
4444

4545
- name: "Run FOSSA Scan"
4646
uses: fossas/fossa-action@v1.7.0 # Use a specific version if locking is preferred

.github/workflows/validate_examples.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
fi
5959
6060
- name: Check out code onto GOPATH
61-
uses: actions/checkout@v4
61+
uses: actions/checkout@v5
6262
with:
6363
repository: ${{ env.CHECKOUT_REPO }}
6464
ref: ${{ env.CHECKOUT_REF }}
@@ -89,14 +89,14 @@ jobs:
8989
with:
9090
go-version: ${{ env.GOVER }}
9191
- name: Checkout Dapr CLI repo to override dapr command.
92-
uses: actions/checkout@v4
92+
uses: actions/checkout@v5
9393
if: env.DAPR_CLI_REF != ''
9494
with:
9595
repository: dapr/cli
9696
ref: ${{ env.DAPR_CLI_REF }}
9797
path: cli
9898
- name: Checkout Dapr repo to override daprd.
99-
uses: actions/checkout@v4
99+
uses: actions/checkout@v5
100100
if: env.DAPR_REF != ''
101101
with:
102102
repository: dapr/dapr

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ The generated files will be found in `docs/_build`.
140140

141141
```sh
142142
pip3 install -r tools/requirements.txt
143+
export DAPR_BRANCH=release-1.16 # Optional, defaults to master
143144
./tools/regen_grpcclient.sh
144145
```
145146

dapr/proto/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Run the following commands:
1313

1414
```sh
1515
pip3 install -r tools/requirements.txt
16+
export DAPR_BRANCH=release-1.16 # Optional, defaults to master
1617
./tools/regen_grpcclient.sh
1718
```
1819

tools/regen_grpcclient.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
# Path to store output
1717
PROTO_PATH="dapr/proto"
1818
SRC=.
19+
DAPR_BRANCH=${DAPR_BRANCH:-master}
1920

2021
# Http request CLI
2122
HTTP_REQUEST_CLI=curl
@@ -38,7 +39,7 @@ downloadFile() {
3839
FILE_PATH="${PROTO_PATH}/${PKG_NAME}/v1"
3940

4041
# URL for proto file
41-
PROTO_URL="https://raw.githubusercontent.com/dapr/dapr/master/dapr/proto/${PKG_NAME}/v1/${FILE_NAME}.proto"
42+
PROTO_URL="https://raw.githubusercontent.com/dapr/dapr/${DAPR_BRANCH}/dapr/proto/${PKG_NAME}/v1/${FILE_NAME}.proto"
4243

4344
mkdir -p "${FILE_PATH}"
4445

0 commit comments

Comments
 (0)