Commit graph

187 commits

Author SHA1 Message Date
Jozef Steinhübl
b45ff82c8b
ci: registry install check 2025-07-08 22:22:54 +02:00
Jozef Steinhübl
c384e3aa99
ci: registry install check 2025-07-08 22:15:08 +02:00
Jozef Steinhübl
9331ec6dde
ci: verbose add 2025-07-08 22:00:05 +02:00
autofix-ci[bot]
b92eb59aed
[autofix.ci] apply automated fixes 2025-07-08 18:52:40 +00:00
Jozef Steinhübl
93e48f74e9
feat: registry parsing 2025-07-08 20:52:02 +02:00
autofix-ci[bot]
9bb0f8cde8
[autofix.ci] apply automated fixes 2025-07-08 18:01:22 +00:00
Jozef Steinhübl
7a1e37eece
feat: use @iarna/toml 2025-07-08 20:00:34 +02:00
autofix-ci[bot]
2db092bddd
[autofix.ci] apply automated fixes 2025-07-08 20:00:30 +02:00
Jozef Steinhübl
3893b07544
ci: test 2025-07-08 20:00:24 +02:00
Jozef Steinhübl
822557a5e4
ci: test 2025-07-08 20:00:24 +02:00
Jozef Steinhübl
1a5885bf9f
ci: test 2025-07-08 20:00:24 +02:00
Jozef Steinhübl
7903ff98a4
ci: test 2025-07-08 20:00:24 +02:00
Jozef Steinhübl
e31304e6f3
ci: add , 2025-07-08 20:00:24 +02:00
Jozef Steinhübl
e8a5565c78
ci: jsr registry test 2025-07-08 20:00:09 +02:00
autofix-ci[bot]
95fe79d023
[autofix.ci] apply automated fixes 2025-07-08 20:00:07 +02:00
Jozef Steinhübl
2eed6961ec
feat: save globally 2025-07-08 19:59:51 +02:00
Jozef Steinhübl
6cb53bc24b
docs: explain registries 2025-07-08 19:59:51 +02:00
Jozef Steinhübl
3480f8396b
feat: add bun types 2025-07-08 19:59:16 +02:00
Jozef Steinhübl
f84b1d1bc4
feat: few more tests 2025-07-08 19:58:23 +02:00
autofix-ci[bot]
87bdff4475
[autofix.ci] apply automated fixes 2025-07-08 19:58:21 +02:00
Jozef Steinhübl
baad454173
fix: dont add registry set line 2025-07-08 19:58:09 +02:00
autofix-ci[bot]
0045b01821
[autofix.ci] apply automated fixes 2025-07-08 19:58:06 +02:00
Jozef Steinhübl
dd6ac17783
fix: pass empty array instead undefined 2025-07-08 19:57:47 +02:00
Jozef Steinhübl
5f6f054bec
refactor: drop unnecessary check 2025-07-08 19:57:47 +02:00
autofix-ci[bot]
4c86bb4191
[autofix.ci] apply automated fixes 2025-07-08 19:57:45 +02:00
Jozef Steinhübl
c623269aa2
feat: support for multiple registries 2025-07-08 19:57:28 +02:00
Okinea Dev
7c641390eb
chore: add settings for vscode (#120)
Some checks failed
🧪 Test / setup-bun (1.1.0, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.1.0, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.x, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (1.x, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (< 2, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (< 2, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (> 1.0.0, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (> 1.0.0, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (canary, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (canary, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun (latest, macos-latest) (push) Has been cancelled
🧪 Test / setup-bun (latest, windows-latest) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .bumrc (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .bumrc (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .bun-version (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .bun-version (1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun 1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, .tool-versions (bun1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, .tool-versions (bun1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, /foo/package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, /foo/package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, package.json (bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, package.json (yarn@bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, package.json (yarn@bun@1.1.0)) (push) Has been cancelled
🧪 Test / setup-bun from (macos-latest, download url) (push) Has been cancelled
🧪 Test / setup-bun from (windows-latest, download url) (push) Has been cancelled
* chore: update Prettier settings and add settings for vscode

* rollback semi

* fix: exclude `dist` from search and lock changes to some files

* Added `search.exclude` to ignore `dist/**` during searches.
* Configured `files.readonlyInclude` to lock changes to `dist/**`, `bun.lock`, and `package-lock.json`.
2025-07-08 15:29:27 +02:00
autofix-ci[bot]
735343b667
[autofix.ci] apply automated fixes 2025-04-27 13:53:50 +00:00
Jozef Steinhübl
27ecfffdee
ci: update autofix ci 2025-04-27 15:53:25 +02:00
Afonso Jorge Ramos
fcc30ed971
fix(docs): remove wildcard in version (#124)
until https://github.com/oven-sh/setup-bun/issues/37 gets fixed
2025-04-27 15:48:05 +02:00
Jozef Steinhübl
56408e9a3f
release: v2.0.2 2025-04-27 15:47:24 +02:00
Robert Michalak
85cb7f6e7e
build: bump @actions/cache version (#128)
* bump @actions/cache version

* fix runtime error
2025-04-27 15:46:35 +02:00
Okinea Dev
54cb141c5c
ci: remove unnecessary steps & cleanup (#118)
* refactor(ci): refactor GitHub Actions for better readablility

* upd

* remove ""
2025-02-04 18:31:38 +01:00
Okinea Dev
6fb6603cc1
build: use text-based Bun lockfile (#116)
chore: 🔒 use text-based Bun lockfile

Support for the text lockfile format was introduced in version `1.1.40` (https://bun.sh/blog/bun-v1.1.40), it will soon replace the binary lockfile format `.lockb` in the upcoming version `1.2.0`

In addition, cached bun install will become 30% faster thanks to the text-based lockfile format - https://bun.sh/blog/bun-lock-text-lockfile#cached-bun-install-gets-30-faster

Read https://bun.sh/blog/bun-lock-text-lockfile
2025-01-05 12:45:22 +01:00
autofix-ci[bot]
9bdeab4320
[autofix.ci] apply automated fixes 2024-12-09 17:46:42 +00:00
Florian Barbare
f09eb1edd0
fix: make bun resolve to given file path when an absolute path is given (#114)
* Make bun resolve to single file path when an absolute path is given

* Update test not to use the workspace folder
2024-12-09 18:46:15 +01:00
Jozef Steinhübl
8f1bc2eeb3
ci: add setup bun download url (#105)
* ci: add setup bun download url

* ci: change runs-on

* ci: aarch64, not arm64
2024-10-08 15:30:45 +02:00
Jozef Steinhübl
a8913c42f4
fix: use hash instead of url for primary cache key (#102) (#103)
* fix: use hash instead of url for primary cache key (#102)

* Update cache-save.ts

* Update action.ts

* Update cache-save.ts

* build

* format

* [autofix.ci] apply automated fixes

---------

Co-authored-by: Daniil Zotov <142039751+zoto-ff@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-10-08 15:19:42 +02:00
マルコメ
b9d34de66d
chore(docs): missing version on examples (#96) 2024-08-06 11:21:46 +02:00
Seiya Kokushi
1e54087d4f
fix: allow more spaces for .tool-versions (#94)
* update: allow more spaces for .tool-versions

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-30 22:30:50 +02:00
Jozef Steinhübl
4bc047ad25
release: v2.0.1 (#91)
* build: bump version

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-07-15 21:09:36 +02:00
Araxeus
f43b443c1c
fix: bun-version-file default value (#90)
fix #89
2024-07-15 14:17:41 +02:00
autofix-ci[bot]
339e277e69
[autofix.ci] apply automated fixes 2024-06-24 13:19:56 +00:00
Jozef Steinhübl
e20a54d1da
docs: add bun-path & bun-download-url to outputs table 2024-06-24 15:19:27 +02:00
Jozef Steinhübl
3fcae870de
docs: show correct bun-version-file examples (#86)
* docs: .bun-version

* docs: correct bun-version-file examples
2024-06-24 15:15:35 +02:00
Jozef Steinhübl
123c6c4e2f
docs: use v2 version 2024-06-23 21:56:22 +02:00
Jozef Steinhübl
ef00e4ac8e
release: v2.0 🎉 (#80)
* feat: add input bun-version-file (#76)

* feat: add input for bun-version-file

* docs: update example bun version file

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>

* refactor: reduce read from file code

* [autofix.ci] apply automated fixes

* feat: read from all known files if not specified

* [autofix.ci] apply automated fixes

* fix: just continue if file doesnt exist

* [autofix.ci] apply automated fixes

* fix: return output if found version

* [autofix.ci] apply automated fixes

* fix: make whitespace in .tool-versions optional

* [autofix.ci] apply automated fixes

* log loglog

* [autofix.ci] apply automated fixes

* log log log

* [autofix.ci] apply automated fixes

* better warnings, fix ci failing

* [autofix.ci] apply automated fixes

* feat: log obtained version

* [autofix.ci] apply automated fixes

* build: bump version

* [autofix.ci] apply automated fixes

* fix: add .zip extension if it's not present

Workaround for https://github.com/actions/toolkit/issues/1179

Fixes https://github.com/oven-sh/setup-bun/issues/79

* [autofix.ci] apply automated fixes

* docs: add comment for easier understanding

* ci: more readable version

* ci: match name

* docs: add package.json and .tool-versions to bun-version-file examples

* ci: add cache test

* ci: install another pkg for cache test

* ci: install more pkgs for cache test

* ci: block all trusted deps in cache test

* ci: more deps for cache test

* ci: cache test should cache

* refactor: dont try all files if not defined

* [autofix.ci] apply automated fixes

* ci: remove cache test

* feat: support .bunrc

* [autofix.ci] apply automated fixes

* refactor: .bun-version instead .bunrc

* [autofix.ci] apply automated fixes

* feat: add bun paths and url to output

Fixes https://github.com/oven-sh/setup-bun/issues/81

* [autofix.ci] apply automated fixes

* ci: test for .bun-version

* feat: make .bun-version as default in bun-version-file

* ci: remove cache before test

* ci: remove cache before test

* ci: remove cache before test

* ci: remove cache before test

---------

Co-authored-by: Ade Hery Shopyan <51158020+adeherysh@users.noreply.github.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2024-06-21 21:11:16 +02:00
Jarred Sumner
43b2dc9ae8 Update README.md 2024-06-02 04:02:05 -07:00
Jarred Sumner
45d2c09359 Update README.md 2024-06-02 04:01:49 -07:00
Jarred Sumner
6ef34ab578 Update README.md 2024-06-02 04:00:50 -07:00