Skip to content

Commit 432f047

Browse files
chore: rename master -> main in docs/crates/workflows
1 parent 64cb6ed commit 432f047

10 files changed

Lines changed: 24 additions & 24 deletions

File tree

.github/workflows/heavy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: # rebuild any PRs and main branch changes
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
permissions:
1010
contents: read

.github/workflows/per-pr.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on: # rebuild any PRs and main branch changes
44
pull_request:
55
push:
66
branches:
7-
- master
7+
- main
88

99
permissions:
1010
contents: read
@@ -17,7 +17,7 @@ concurrency:
1717
jobs:
1818
build-and-lint:
1919
name: "Format, docs, and lint"
20-
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
20+
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 15 || 10 }}
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -33,7 +33,7 @@ jobs:
3333
- run: rustup component add rustfmt clippy
3434
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
3535
with:
36-
save-if: ${{ github.ref == 'refs/heads/master' }}
36+
save-if: ${{ github.ref == 'refs/heads/main' }}
3737
- run: cargo fmt --all --check
3838
- run: cargo doc --workspace --all-features --no-deps
3939
env:
@@ -46,7 +46,7 @@ jobs:
4646
test:
4747
name: Unit Tests
4848
# Give extra time to ensure pushes to main have time to populate the cache
49-
timeout-minutes: ${{ matrix.timeoutMinutes || (github.ref == 'refs/heads/master' && 20 || 15) }}
49+
timeout-minutes: ${{ matrix.timeoutMinutes || (github.ref == 'refs/heads/main' && 20 || 15) }}
5050
strategy:
5151
fail-fast: false
5252
matrix:
@@ -82,7 +82,7 @@ jobs:
8282
core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
8383
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
8484
with:
85-
save-if: ${{ github.ref == 'refs/heads/master' }}
85+
save-if: ${{ github.ref == 'refs/heads/main' }}
8686
- run: cargo test -- --include-ignored --nocapture
8787
- name: Find test executable for cgroup tests
8888
id: find-cgroup-test
@@ -107,7 +107,7 @@ jobs:
107107

108108
msrv:
109109
name: "Verify MSRV"
110-
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 15 || 10 }}
110+
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 15 || 10 }}
111111
runs-on: ubuntu-latest
112112
steps:
113113
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -123,7 +123,7 @@ jobs:
123123
- run: rustup component add rustfmt clippy
124124
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
125125
with:
126-
save-if: ${{ github.ref == 'refs/heads/master' }}
126+
save-if: ${{ github.ref == 'refs/heads/main' }}
127127
key: msrv
128128
- run: cargo install cargo-msrv
129129
- run: cargo msrv verify
@@ -150,7 +150,7 @@ jobs:
150150
151151
integ-tests:
152152
name: Integ tests
153-
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 30 || 25 }}
153+
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 30 || 25 }}
154154
strategy:
155155
fail-fast: false
156156
matrix:
@@ -185,18 +185,18 @@ jobs:
185185
core.exportVariable('RUSTFLAGS', '-Csymbol-mangling-version=v0');
186186
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
187187
with:
188-
save-if: ${{ github.ref == 'refs/heads/master' }}
188+
save-if: ${{ github.ref == 'refs/heads/main' }}
189189
- run: cargo integ-test
190190

191191
cloud-tests:
192-
if: github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-core'
192+
if: github.event.pull_request.head.repo.full_name == '' || github.event.pull_request.head.repo.full_name == 'temporalio/sdk-rust'
193193
name: Cloud tests
194194
env:
195195
TEMPORAL_CLOUD_ADDRESS: https://${{ vars.TEMPORAL_CLIENT_NAMESPACE }}.tmprl.cloud:7233
196196
TEMPORAL_NAMESPACE: ${{ vars.TEMPORAL_CLIENT_NAMESPACE }}
197197
TEMPORAL_CLIENT_CERT: ${{ secrets.TEMPORAL_CLIENT_CERT }}
198198
TEMPORAL_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }}
199-
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
199+
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 25 || 20 }}
200200
runs-on: ubuntu-latest
201201
steps:
202202
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -210,7 +210,7 @@ jobs:
210210

211211
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
212212
with:
213-
save-if: ${{ github.ref == 'refs/heads/master' }}
213+
save-if: ${{ github.ref == 'refs/heads/main' }}
214214
- run: cargo test --features=test-utilities --test cloud_tests
215215

216216
docker-integ-tests:
@@ -221,7 +221,7 @@ jobs:
221221
TEMPORAL_CLIENT_CERT: ${{ secrets.TEMPORAL_CLIENT_CERT }}
222222
TEMPORAL_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }}
223223
DOCKER_PROMETHEUS_RUNNING: true
224-
timeout-minutes: ${{ github.ref == 'refs/heads/master' && 25 || 20 }}
224+
timeout-minutes: ${{ github.ref == 'refs/heads/main' && 25 || 20 }}
225225
runs-on: ubuntu-latest
226226
steps:
227227
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -238,7 +238,7 @@ jobs:
238238
compose-file: ./etc/docker/docker-compose-ci.yaml
239239
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
240240
with:
241-
save-if: ${{ github.ref == 'refs/heads/master' }}
241+
save-if: ${{ github.ref == 'refs/heads/main' }}
242242
- run: cargo integ-test docker_
243243

244244
examples:
@@ -255,7 +255,7 @@ jobs:
255255
repo-token: ${{ secrets.GITHUB_TOKEN }}
256256
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
257257
with:
258-
save-if: ${{ github.ref == 'refs/heads/master' }}
258+
save-if: ${{ github.ref == 'refs/heads/main' }}
259259
- name: Build examples
260260
run: cargo build --examples -p temporalio-sdk --features examples
261261
- name: Install Temporal CLI

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Contributor Guidance for `sdk-core`
1+
# Contributor Guidance for `sdk-rust`
22

33
This repository provides a Rust workspace for the Temporal Core SDK and related crates. Use this
44
document as your quick reference when submitting pull requests.

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ definitions. The actual implementations of this "service" are not generated by g
112112
the messages themselves are, and make it easier to hit the ground running in new languages.
113113

114114
See the latest API
115-
definition [here](https://github.com/temporalio/sdk-core/tree/master/sdk-core-protos/protos/local/temporal/sdk/core)
115+
definition [here](https://github.com/temporalio/sdk-rust/tree/main/crates/common/protos/local/temporal/sdk/core)
116116

117117
## Other topics
118118

crates/client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
66
license-file = { workspace = true }
77
description = "Clients for interacting with Temporal"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow"]
1111
categories = ["development-tools"]
1212
readme = "README.md"

crates/common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
66
license-file = { workspace = true }
77
description = "Common functionality for the Temporal SDK Core, Client, and Rust SDK"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow"]
1111
categories = ["development-tools"]
1212
exclude = ["protos/*/.github/*"]

crates/macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Temporal Technologies Inc. <sdk@temporal.io>"]
66
license-file = { workspace = true }
77
description = "Procmacros used in Temporal Core & Rust SDKs"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow", "macros"]
1111
categories = ["development-tools"]
1212

crates/sdk-core-c-bridge/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Spencer Judge <spencer@temporal.io>"]
66
license-file = { workspace = true }
77
description = "C bridge for Temporal Core SDK"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow"]
1111
categories = ["development-tools"]
1212
publish = false

crates/sdk-core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ edition = "2024"
66
license-file = { workspace = true }
77
description = "Library for building new Temporal SDKs"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow"]
1111
categories = ["development-tools"]
1212
exclude = ["machine_coverage/*"]

crates/sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Spencer Judge <spencer@temporal.io>"]
66
license-file = { workspace = true }
77
description = "Temporal Rust SDK"
88
homepage = "https://temporal.io/"
9-
repository = "https://github.com/temporalio/sdk-core"
9+
repository = "https://github.com/temporalio/sdk-rust"
1010
keywords = ["temporal", "workflow"]
1111
categories = ["development-tools"]
1212
readme = "README.md"

0 commit comments

Comments
 (0)