Skip to content

Commit c0331d1

Browse files
committed
Some clean-up
* `inputs.port.default` is converted into string type explicitly since it must be a string (according to the docs) and because the linter complained. * Remove `PGPORT` environment variable from CI since it seems unneeded.
1 parent 58a9f46 commit c0331d1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ jobs:
5858
python3 -m pip install --upgrade pip pytest psycopg
5959
python3 -m pytest -vv test_action.py
6060
env:
61-
PGPORT: 34837
6261
CONNECTION_URI: ${{ steps.postgres.outputs.connection-uri }}
6362
EXPECTED_CONNECTION_URI: postgresql://yoda:GrandMaster@localhost:34837/jedi_order
6463
shell: bash

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ inputs:
1818
default: postgres
1919
required: false
2020
port:
21-
description: The server port.
22-
default: 5432
21+
description: The server port to listen on.
22+
default: "5432"
2323
required: false
2424
outputs:
2525
connection-uri:

0 commit comments

Comments
 (0)