Skip to content

Commit

Permalink
ci: overwrite schema.rs after diesel database setup
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzSchueler committed May 28, 2024
1 parent 1e80e4b commit 03dd41e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,8 @@ jobs:
- name: setup database
working-directory: sport-log-types
run: |
diesel database setup
patch src/schema.rs src/schema.patch
# diesel database setup --locked-schema TODO
diesel database setup # --locked-schema TODO
git restore src/schema.rs # patch src/schema.rs src/schema.patch TODO
- name: create sport-log-server.toml file
working-directory: sport-log-server
run: |
Expand Down Expand Up @@ -191,9 +190,8 @@ jobs:
- name: setup database
working-directory: sport-log-types
run: |
diesel database setup
patch src/schema.rs src/schema.patch
# diesel database setup --locked-schema TODO
diesel database setup # --locked-schema TODO
git restore src/schema.rs # patch src/schema.rs src/schema.patch TODO
- name: create sport-log-server.toml file
working-directory: sport-log-server
run: |
Expand Down

0 comments on commit 03dd41e

Please sign in to comment.