Skip to content

Commit

Permalink
Update CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
btschwertfeger committed Jan 13, 2025
1 parent 815324b commit 545f2df
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/_docker_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ jobs:
contents: read
attestations: write
id-token: write
environment:
name: Docker Hub
url: https://hub.docker.com/repository/docker/btschwertfeger/kraken-infinity-grid
steps:
- name: Harden Runner
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
Expand Down Expand Up @@ -60,6 +63,9 @@ jobs:
${{ env.IMAGE_NAME }}
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build and push Docker images
id: push
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
# To guarantee Maintained check is occasionally updated. See
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
schedule:
- cron: "15 5 * * 7"
- cron: "29 19 * * 5"
push:
branches: ["master"]

Expand Down
8 changes: 3 additions & 5 deletions tests/integration/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ class KrakenAPI(Trade, User):
TODOs:
- [ ] Properly handle updating the user's current balances. While being at
it, ensure the integration tests cover cases where the balances are
not sufficient.
- [ ] Properly handle updating the user's current balances.
"""

def __init__(self: Self, **kwargs) -> None: # noqa: ANN003
super().__init__(**kwargs)
def __init__(self: Self) -> None:
super().__init__() # DONT PASS SECRETS!
self.__orders = {}
self.__balances = {
"XXBT": {"balance": "100.0", "hold_trade": "0.0"},
Expand Down

0 comments on commit 545f2df

Please sign in to comment.