Skip to content

Commit b9d8b75

Browse files
committed
ci: update SQLx workflow to use sudo for ODBC dependency installation and remove unnecessary whitespace
1 parent 9fb8ab0 commit b9d8b75

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/sqlx.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
prefix-key: v1-sqlx
5858
save-if: ${{ false }}
59-
- run: apt-get update && apt-get install -y libodbc2 unixodbc-dev
59+
- run: sudo apt-get update && sudo apt-get install -y libodbc2 unixodbc-dev
6060
- run: cargo test
6161
--manifest-path sqlx-core/Cargo.toml
6262
--features offline,all-databases,all-types,runtime-tokio-rustls
@@ -141,7 +141,6 @@ jobs:
141141
steps:
142142
- uses: actions/checkout@v4
143143

144-
145144
- uses: Swatinem/rust-cache@v2
146145
with:
147146
prefix-key: v1-sqlx
@@ -213,7 +212,6 @@ jobs:
213212
steps:
214213
- uses: actions/checkout@v4
215214

216-
217215
- uses: Swatinem/rust-cache@v2
218216
with:
219217
prefix-key: v1-sqlx
@@ -257,7 +255,6 @@ jobs:
257255
steps:
258256
- uses: actions/checkout@v4
259257

260-
261258
- uses: Swatinem/rust-cache@v2
262259
with:
263260
prefix-key: v1-sqlx
@@ -294,7 +291,6 @@ jobs:
294291
steps:
295292
- uses: actions/checkout@v4
296293

297-
298294
- uses: Swatinem/rust-cache@v2
299295
with:
300296
prefix-key: v1-sqlx

0 commit comments

Comments
 (0)