Skip to content

Commit f1ab2a9

Browse files
committed
Fix CI and tsync version
1 parent ec33115 commit f1ab2a9

File tree

7 files changed

+1663
-900
lines changed

7 files changed

+1663
-900
lines changed

.github/workflows/CLI-ActixPostgres-CI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ jobs:
4242
- name: test test-project
4343
working-directory: ./test-project
4444
run: |
45-
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todos (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamptz,\n updated_at -> Timestamptz,\n }\n}" >> ./backend/schema.rs
46-
sed -i 's/create-rust-app = {/create-rust-app = { path = "..\/create-rust-app", /' ./Cargo.toml
47-
cargo dsync
45+
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todo (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamptz,\n updated_at -> Timestamptz,\n }\n}" >> ./backend/schema.rs
46+
sed -i 's/create-rust-app = {/create-rust-app = { path = "..\/crates\/create-rust-app", /' ./Cargo.toml
47+
cargo dsync
4848
cargo check
4949
5050
Actix-Postgres-All:
@@ -67,9 +67,9 @@ jobs:
6767
- name: test test-project
6868
working-directory: ./test-project
6969
run: |
70-
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todos (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamptz,\n updated_at -> Timestamptz,\n }\n}" >> ./backend/schema.rs
71-
sed -i 's/create-rust-app]/create-rust-app]\npath = "..\/create-rust-app"/' Cargo.toml
72-
cargo dsync
70+
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todo (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamptz,\n updated_at -> Timestamptz,\n }\n}" >> ./backend/schema.rs
71+
sed -i 's/create-rust-app]/create-rust-app]\npath = "..\/crates\/create-rust-app"/' Cargo.toml
72+
cargo dsync
7373
cargo check
7474
7575
# Actix-Postgres-Container:

.github/workflows/CLI-ActixSqlite-CI.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
- name: test test-project
4343
working-directory: ./test-project
4444
run: |
45-
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todos (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamp,\n updated_at -> Timestamp,\n }\n}" >> ./backend/schema.rs
46-
sed -i 's/create-rust-app = {/create-rust-app = { path = "..\/create-rust-app", /' ./Cargo.toml
45+
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todo (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamp,\n updated_at -> Timestamp,\n }\n}" >> ./backend/schema.rs
46+
sed -i 's/create-rust-app = {/create-rust-app = { path = "..\/crates\/create-rust-app", /' ./Cargo.toml
4747
cargo dsync
4848
cargo check
4949
@@ -67,8 +67,8 @@ jobs:
6767
- name: test test-project
6868
working-directory: ./test-project
6969
run: |
70-
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todos (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamp,\n updated_at -> Timestamp,\n }\n}" >> ./backend/schema.rs
71-
sed -i 's/create-rust-app]/create-rust-app]\npath = "..\/create-rust-app"/' Cargo.toml
70+
printf "// @generated automatically by Diesel CLI.\ndiesel::table! {\n todo (id) {\n id -> Int4,\n text -> Text,\n created_at -> Timestamp,\n updated_at -> Timestamp,\n }\n}" >> ./backend/schema.rs
71+
sed -i 's/create-rust-app]/create-rust-app]\npath = "..\/crates\/create-rust-app"/' Cargo.toml
7272
cargo dsync
7373
cargo check
7474

0 commit comments

Comments
 (0)