Skip to content

Commit 0c57368

Browse files
committed
Tack on some auxiliary changes
Fix versions in mdbook to precise versions (=), make check against Timely master more robust. Signed-off-by: Moritz Hoffmann <antiguru@gmail.com>
1 parent e0ca9ba commit 0c57368

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
run: |
1616
export DIFFERENTIAL_VERSION=$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "differential-dataflow") | .version')
1717
export TIMELY_VERSION=$(cargo metadata --format-version 1 | jq -r '.packages[] | select(.name == "timely") | .version')
18-
sed -i "s/^differential-dataflow = .*/differential = \"$DIFFERENTIAL_VERSION\"/" mdbook/src/chapter_0/chapter_0_0.md
19-
sed -i "s/^timely = .*/timely = \"$TIMELY_VERSION\"/" mdbook/src/chapter_0/chapter_0_0.md
18+
sed -i "s/^differential-dataflow = .*/differential = \"=$DIFFERENTIAL_VERSION\"/" mdbook/src/chapter_0/chapter_0_0.md
19+
sed -i "s/^timely = .*/timely = \"=$TIMELY_VERSION\"/" mdbook/src/chapter_0/chapter_0_0.md
2020
- run: cd mdbook && mdbook build
2121
- uses: JamesIves/github-pages-deploy-action@v4
2222
with:

.github/workflows/test-timely-master.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ jobs:
2525
[patch.crates-io]
2626
timely = { git = "https://github.com/TimelyDataflow/timely-dataflow" }
2727
EOF
28+
- name: Cargo upgrade
29+
run: |
30+
cargo install cargo-edit
31+
cargo upgrade -p timely --incompatible
2832
- name: Cargo check against Timely master
2933
run: cargo check --all-targets
3034
- name: Cargo test against Timely master
31-
working-directory: timely_master
3235
run: cargo test
3336

3437
notify:

0 commit comments

Comments
 (0)