Skip to content
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
7 changes: 3 additions & 4 deletions .github/workflows/check_url.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,18 +79,17 @@ jobs:
shell: bash

check-windows:
# https://ci.appveyor.com/project/borkdude/babashka
runs-on: windows-latest
strategy:
matrix:
babashka-url: ['https://ci.appveyor.com/api/buildjobs/hgg0343wy6uj4xog/artifacts/babashka-1.3.190-SNAPSHOT-windows-amd64.zip']
babashka-url: ['https://github.com/babashka/babashka/releases/download/v1.3.189/babashka-1.3.189-windows-amd64.zip']
steps:
- name: Setup Babashka
id: setup-babashka-1
uses: turtlequeue/setup-babashka@main

with:
babashka-version: 1.3.190-SNAPSHOT
babashka-version: 1.3.189
babashka-url: ${{ matrix.babashka-url }}

- name: Check if bb runs fine
Expand All @@ -101,7 +100,7 @@ jobs:
uses: turtlequeue/setup-babashka@main

with:
babashka-version: 1.3.190-SNAPSHOT
babashka-version: 1.3.189
babashka-url: ${{ matrix.babashka-url }}
fail-on-cache-miss: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 24
- run: yarn
- run: yarn test
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.12.0
24.0.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.12.0
v24.0.0
18 changes: 18 additions & 0 deletions NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# notes for myself

# Use a CI version

You probably don't want to do that.
Using a CI build of babashka is possible. They can be found on the [babashka GitHub releases](https://github.com/babashka/babashka/releases) page (for stable builds) or as GitHub Actions artifacts on the babashka repo (expire after 90 days).

Keep in mind that:
- the CI builds from babashka will expire
- the platform detection is up to you

```yaml
- name: Setup Babashka
uses: turtlequeue/setup-babashka@v1.7.0
with:
# this will eventually expire
babashka-version: 0.8.157-SNAPSHOT
babashka-url: https://29579-201467090-gh.circle-artifacts.com/0/release/babashka-0.8.157-SNAPSHOT-linux-amd64-static.tar.gz
```

# Development

```bash
Expand Down
29 changes: 0 additions & 29 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,6 @@ However this action is useful still for:
- (advanced) using a CI build by specifying a `babashka-url` (see below)


# Use a CI version

You probably don't want to do that.
Using a CI build of babashka is possible. They can be found on the babashka CI build artefacts or on [appveyor](https://ci.appveyor.com/project/borkdude/babashka) for windows builds.

Keep in mind that:
- the CI builds from babashka will expire
- the platform detection is up to you

```yaml
name: install babashka

on: [push]

jobs:
simple:
runs-on: ubuntu-latest
steps:
- name: Setup Babashka
uses: turtlequeue/setup-babashka@v1.7.0
with:
# this will eventually expire
babashka-version: 0.8.157-SNAPSHOT
babashka-url: https://29579-201467090-gh.circle-artifacts.com/0/release/babashka-0.8.157-SNAPSHOT-linux-amd64-static.tar.gz

- name: Check bb runs
run: bb --version
```

# License
Copyright © 2022-2024 Turtlequeue Ltd

Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ inputs:
fail-on-cache-miss:
description: 'Fail the action run if the result was not returned from the cache. Useful for tests. "true" or false otherwise'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.12.2",
"@types/node": "^24.0.0",
"@types/semver": "^7.5.8",
"@types/uuid": "^9.0.8",
"@vercel/ncc": "^0.38.1",
Expand Down
14 changes: 13 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -888,13 +888,20 @@
resolved "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz"
integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==

"@types/node@*", "@types/node@^20.12.2":
"@types/node@*":
version "20.12.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.12.2.tgz#9facdd11102f38b21b4ebedd9d7999663343d72e"
integrity sha512-zQ0NYO87hyN6Xrclcqp7f8ZbXNbRfoGWNcMvHTPQp9UUrwI0mI7XBz+cu7/W6/VClYo2g63B0cjull/srU7LgQ==
dependencies:
undici-types "~5.26.4"

"@types/node@^24.0.0":
version "24.12.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-24.12.2.tgz#353cb161dbf1785ea25e8829ba7ec574c5c629ac"
integrity sha512-A1sre26ke7HDIuY/M23nd9gfB+nrmhtYyMINbjI1zHJxYteKR6qSMX56FsmjMcDb3SMcjJg5BiRRgOCC/yBD0g==
dependencies:
undici-types "~7.16.0"

"@types/semver@^7.5.0":
version "7.5.6"
resolved "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz"
Expand Down Expand Up @@ -4008,6 +4015,11 @@ undici-types@~5.26.4:
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

undici-types@~7.16.0:
version "7.16.0"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-7.16.0.tgz#ffccdff36aea4884cbfce9a750a0580224f58a46"
integrity sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==

undici@^5.25.4:
version "5.28.2"
resolved "https://registry.npmjs.org/undici/-/undici-5.28.2.tgz"
Expand Down
Loading