diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c75729d0..326274d5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v5
- name: Setup Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version: '^1.24.0'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6321ba6a..97f09695 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -16,7 +16,7 @@ jobs:
uses: actions/checkout@v5
- name: Setup Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version: '^1.24.0'
@@ -146,7 +146,7 @@ jobs:
uses: actions/checkout@v5
- name: Setup Go
- uses: actions/setup-go@v5
+ uses: actions/setup-go@v6
with:
go-version: '^1.24.0'
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 8a1d996a..94d08c46 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -13,7 +13,7 @@ jobs:
steps:
- name: Stale
- uses: actions/stale@v9
+ uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue has been marked stale because it has been open for 60 days with no activity.'
diff --git a/README.md b/README.md
index b27725da..0ac6b0aa 100644
--- a/README.md
+++ b/README.md
@@ -7,9 +7,12 @@
+
+
- This project is supported by GitHub sponsors. + This project’s future depends on community support. Become a sponsor today.
## About @@ -149,6 +152,16 @@ Or install into a particular environment with [`conda`](https://docs.conda.io/pr conda install --channel conda-forge croc ``` +### On Linux, macOS via Docker + +Add the following one-liner function to your ~/.profile (works with any POSIX-compliant shell): + +```bash +croc() { [ $# -eq 0 ] && set -- ""; docker run --rm -it --user "$(id -u):$(id -g)" -v "$(pwd):/c" -v "$HOME/.config/croc:/.config/croc" -w /c -e CROC_SECRET schollz/croc "$@"; } +``` + +You can also just paste it in the terminal for current session. On first run Docker will pull the image. `croc` via Docker will only work within the current directory and its subdirectories. + ### Build from Source If you prefer, you can [install Go](https://go.dev/dl/) and build from source (requires Go 1.22+):