Skip to content

Commit e7799e1

Browse files
committed
diesel: Remove obsolete .diesel_version file
We're not using `diesel_cli` in production anymore. Instead we're using the `migrate` admin command, which is using `diesel_migrations` underneath.
1 parent 4b05cde commit e7799e1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.diesel_version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010
pull_request:
1111

1212
env:
13+
DIESEL_CLI_VERSION: 1.4.1
1314
NODE_VERSION: 16.13.1
1415
RUST_VERSION: 1.57.0
1516

@@ -137,7 +138,7 @@ jobs:
137138

138139
- name: Setup database
139140
run: |
140-
cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres --debug
141+
cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
141142
diesel database setup --locked-schema
142143
143144
- name: Run tests

.github/workflows/coverage.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ on:
77
- master
88

99
env:
10+
DIESEL_CLI_VERSION: 1.4.1
1011
RUST_VERSION: 1.57.0
1112

1213
jobs:
@@ -43,7 +44,7 @@ jobs:
4344
- uses: Swatinem/rust-cache@v1.3.0
4445

4546
# Set up database
46-
- run: cargo install diesel_cli --vers $(cat .diesel_version) --no-default-features --features postgres --debug
47+
- run: cargo install diesel_cli --vers ${{ env.DIESEL_CLI_VERSION }} --no-default-features --features postgres --debug
4748
- run: diesel database setup --locked-schema
4849

4950
# Set up cargo-tarpaulin and run the tests

0 commit comments

Comments
 (0)