Update GitHub workflow

This commit is contained in:
Alphonse Paix
2025-08-22 08:44:02 +02:00
parent f3e76acc00
commit 6dd44522b0

View File

@@ -36,7 +36,7 @@ jobs:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres:14
image: postgres
# Environment variables scoped only for the `postgres` element
env:
POSTGRES_USER: postgres
@@ -79,7 +79,7 @@ jobs:
- name: Run tests
run: cargo test
- name: Check that queries are fresh
run: cargo sqlx prepare --workspace --check -- --all-targets
run: cargo sqlx prepare --check --workspace
# `fmt` container job
fmt:
@@ -121,7 +121,7 @@ jobs:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14
image: postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password