Skip to content

Commit

Permalink
Minor doc tweaks
Browse files Browse the repository at this point in the history
* The streak is longer now
* Use generic docker image name
  • Loading branch information
kesyog committed Feb 4, 2024
1 parent 4cdd371 commit 264ec02
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@ env:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
with:
toolchain: stable
components: clippy, rustfmt
- name: clippy
uses: clechasseur/rs-clippy-check@v3
- name: rustfmt
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review
- name: clippy
uses: clechasseur/rs-clippy-check@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
When I first subscribed to the _New York Times_ crossword in January 2017, I could solve some Monday
puzzles and maybe the occasional Tuesday. Over time, I slowly got better at noticing the common
patterns and picked up enough [crosswordese](https://en.wikipedia.org/wiki/Crosswordese) to be able
to finish it fairly consistently. As of February 2021, I've now maintained a daily streak stretching
back 3+ years to August 2017 (knock on wood...).
to finish it fairly consistently. As of February 2024, I've now maintained a daily streak stretching
back 6+ years to August 2017 (knock on wood...).

The NYT crossword app exposes some solve time statistics like all-time average and fastest time,
both broken out day. But there is no good way to see how much you have improved over time. You can
Expand Down
4 changes: 2 additions & 2 deletions docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ gcloud auth login
docker build -t `<image name>` .

# Open a shell in container so you can run commands and test
docker run -it --rm us.gcr.io/xword-stats/xword:latest bash
docker run -it --rm <image name>:latest bash

# Push image to registry
docker push us.gcr.io/xword-stats/xword:latest
docker push <image name>:latest

# Use Cloud console to point Cloud Run to latest image
```

0 comments on commit 264ec02

Please sign in to comment.