Update GitHub workflow
This commit is contained in:
6
.github/workflows/general.yml
vendored
6
.github/workflows/general.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user