Skip to content

Commit a935015

Browse files
Merge pull request #259 from digitalghost-dev/1.9.1
1.9.1
2 parents 4933545 + 555f9e3 commit a935015

40 files changed

Lines changed: 357 additions & 226 deletions

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ on:
3131
- main
3232

3333
env:
34-
VERSION_NUMBER: 'v1.9.0'
34+
VERSION_NUMBER: 'v1.9.1'
3535
DOCKERHUB_REGISTRY_NAME: 'digitalghostdev/poke-cli'
3636
AWS_REGION: 'us-west-2'
3737

@@ -96,7 +96,7 @@ jobs:
9696
- name: Set up Go
9797
uses: actions/setup-go@v5
9898
with:
99-
go-version: '1.24.6'
99+
go-version: '1.25.8'
100100

101101
- name: Build Go Binary
102102
env:

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.24
19+
go-version: 1.25
2020

2121
- name: Install dependencies
2222
run: |

.github/workflows/go_lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
- name: Set up Go
2121
uses: actions/setup-go@v5
2222
with:
23-
go-version: 1.24
23+
go-version: 1.25
2424

2525
- name: Lint
2626
uses: golangci/golangci-lint-action@v7
2727
with:
28-
version: v2.0.1
28+
version: v2.11.4
2929
skip-cache: true

.github/workflows/go_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Setup Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.24
19+
go-version: 1.25
2020

2121
- name: Install dependencies
2222
run: |
Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
name: Codspeed Benchmarks
1+
name: Python Tests
2+
23
on:
34
push:
45
branches:
56
- main
67
paths:
78
- 'card_data/**'
9+
- 'web/**'
810
pull_request:
9-
types: [ opened, reopened, synchronize ]
11+
types: [opened, reopened, synchronize]
1012
paths:
1113
- 'card_data/**'
14+
- 'web/**'
1215

1316
permissions:
1417
contents: read
1518
id-token: write
1619

1720
jobs:
18-
benchmarks:
21+
card-data-benchmarks:
1922
runs-on: ubuntu-22.04
2023
defaults:
2124
run:
@@ -41,4 +44,28 @@ jobs:
4144
with:
4245
working-directory: card_data
4346
mode: simulation
44-
run: uv run pytest pipelines/tests/ -v --codspeed
47+
run: uv run pytest pipelines/tests/ -v --codspeed
48+
49+
streamlit-testing:
50+
runs-on: ubuntu-22.04
51+
defaults:
52+
run:
53+
working-directory: web
54+
55+
steps:
56+
- name: Checkout
57+
uses: actions/checkout@v6
58+
59+
- name: Setup Python
60+
uses: actions/setup-python@v6
61+
with:
62+
python-version: '3.12'
63+
64+
- name: Install uv
65+
uses: astral-sh/setup-uv@v7
66+
67+
- name: Install dependencies
68+
run: uv sync --dev
69+
70+
- name: Run tests
71+
run: uv run pytest app_test.py -v

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Set up Go
1919
uses: actions/setup-go@v5
2020
with:
21-
go-version: 1.24
21+
go-version: 1.25
2222

2323
- name: Run GoReleaser
2424
uses: goreleaser/goreleaser-action@v6

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
- windows
1515
- darwin
1616
ldflags:
17-
- -s -w -X main.version=v1.9.0
17+
- -s -w -X main.version=v1.9.1
1818

1919
archives:
2020
- formats: [ 'zip' ]

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# build 1
2-
FROM golang:1.24.12-alpine3.23 AS build
2+
FROM golang:1.25.8-alpine3.23 AS build
33

44
WORKDIR /app
55

@@ -8,7 +8,7 @@ RUN go mod download
88

99
COPY . .
1010

11-
RUN go build -ldflags "-X main.version=v1.9.0" -o poke-cli .
11+
RUN go build -ldflags "-X main.version=v1.9.1" -o poke-cli .
1212

1313
# build 2
1414
FROM --platform=$BUILDPLATFORM alpine:3.23

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<img width="425" src="poke-cli.png" alt="pokemon-logo"/>
33
<h4></h4>
44
<img src="https://img.shields.io/github/v/release/digitalghost-dev/poke-cli?style=flat-square&logo=git&logoColor=FFCC00&label=Release%20Version&labelColor=EEE&color=FFCC00" alt="version-label">
5-
<img src="https://img.shields.io/docker/image-size/digitalghostdev/poke-cli/v1.9.0?arch=arm64&style=flat-square&logo=docker&logoColor=FFCC00&labelColor=EEE&color=FFCC00" alt="docker-image-size">
5+
<img src="https://img.shields.io/docker/image-size/digitalghostdev/poke-cli/v1.9.1?arch=arm64&style=flat-square&logo=docker&logoColor=FFCC00&labelColor=EEE&color=FFCC00" alt="docker-image-size">
66
<img src="https://img.shields.io/github/actions/workflow/status/digitalghost-dev/poke-cli/ci.yml?branch=main&style=flat-square&logo=github&logoColor=FFCC00&label=CI&labelColor=EEE&color=FFCC00" alt="ci-status-badge">
77
</div>
88
<div align="center">
@@ -99,15 +99,29 @@ Cloudsmith is a fully cloud-based service that lets you easily create, store, an
9999
3. Choose how to interact with the container:
100100
* Run a single command and exit:
101101
```bash
102-
docker run --rm -it digitalghostdev/poke-cli:v1.9.0 <command> [subcommand] [flag]
102+
docker run --rm -it digitalghostdev/poke-cli:v1.9.1 <command> [subcommand] [flag]
103103
```
104104
* Enter the container and use its shell:
105105
```bash
106-
docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.9.0 -c "cd /app && exec sh"
106+
docker run --rm -it --name poke-cli --entrypoint /bin/sh digitalghostdev/poke-cli:v1.9.1 -c "cd /app && exec sh"
107107
# placed into the /app directory, run the program with './poke-cli'
108108
# example: ./poke-cli ability swift-swim
109109
```
110110

111+
> [!NOTE]
112+
> The `card` command renders TCG card images using your terminal's graphics protocol. When running inside Docker, pass your terminal's environment variables so image rendering works correctly:
113+
> ```bash
114+
> # Kitty
115+
> docker run --rm -it -e TERM -e KITTY_WINDOW_ID digitalghostdev/poke-cli:v1.9.1 card
116+
>
117+
> # WezTerm, iTerm2, Ghostty, Konsole, Rio, Tabby
118+
> docker run --rm -it -e TERM -e TERM_PROGRAM digitalghostdev/poke-cli:v1.9.1 card
119+
>
120+
> # Windows Terminal (Sixel)
121+
> docker run --rm -it -e WT_SESSION digitalghostdev/poke-cli:v1.9.1 card
122+
> ```
123+
> If your terminal is not listed above, image rendering is not supported inside Docker.
124+
111125
### Binary
112126

113127
1. Head to the [releases](https://github.com/digitalghost-dev/poke-cli/releases) page of the project.

card_data/pipelines/defs/extract/tcgcsv/extract_pricing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
SET_PRODUCT_MATCHING = {
1313
# Mega Evolution
14+
"me03": "24587",
1415
"me02.5": "24541",
1516
"me02": "24448",
1617
"me01": "24380",

0 commit comments

Comments
 (0)