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