Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub actions and minor doc tweaks #15

Merged
merged 2 commits into from
Feb 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +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: rustfmt
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: clippy
uses: clechasseur/rs-clippy-check@v2
uses: clechasseur/rs-clippy-check@v3
- name: rustfmt
uses: mbrobbel/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
mode: review
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
```
Loading