Dawid Ciężarkiewicz
645579430a
feat(fs-lock): new_try_exclusive and new_try_shared ( #1496 )
...
In certain situations it's useful to attempt to lock the file.
2023-11-16 22:35:08 +00:00
Yuri Astrakhan
9d8dc94d8d
Fix badge ( #1494 )
...
It was pointing to an non-existent CI job, changed it to CI workflow.
2023-11-14 03:03:31 +00:00
github-actions[bot]
d345b2c14b
release: cargo-binstall v1.4.5 ( #1492 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-12 10:59:27 +00:00
github-actions[bot]
5b8608d367
release: binstalk v0.18.0 ( #1493 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 23:36:51 +00:00
github-actions[bot]
122e64ab25
release: binstalk-manifests v0.11.0 ( #1484 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 18:53:10 +00:00
Jiahao XU
4599a70839
Fix CI: Dry-run cargo-publish
on crate to be published ( #1490 )
...
* Fix CI: Dry-run `cargo-publish` on crate to be published
If there's no crate to publish, do not dry-run `cargo-publish`.
Only dry-run `cargo-publish` on crate to be published to avoid
`cargo-publish` error on `cargo-binstall` when one of its direct
dependencies is bumped.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix passing of crate to `release-cli.yml`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix passing of `needs.pr-info.outpus.crate`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `release-dry-run`: Only run if is release or is not PR event
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix passing of crate
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Rm `just-setup` from `release-cli.yml` since it cannot be cached
release is trigged by the closing of PR, so the cache is saved under the
branch `release/*` which cannot be reused.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix dry-run publish
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-11 14:17:16 +00:00
Jiahao XU
26b6db2244
Fix release-cli.yml
: Do not dry run cargo-publish ( #1487 )
...
* Fix `release-cli.yml`: Do not dry run `cargo-publish`
If dependencies of `carog-binstall` is bumped, then `cargo-publish` dry
run will fail since the dependency has not published yet
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Speedup step publish in `release-cli.yml`
Use `just-setup` to cache rust/zig compilation, also
disable all features to reduce dependencies pulled in.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* `release-cli.yml`: Restore rust cache before ephermal-crate.sh is run
which writes the key to `Cargo.toml` and invalidates the cache.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-11 11:11:09 +00:00
github-actions[bot]
86237aa611
release: binstalk-registry v0.3.0 ( #1486 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 09:50:21 +00:00
github-actions[bot]
c874f2e0dc
release: binstalk-downloader v0.9.4 ( #1485 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 08:05:41 +00:00
github-actions[bot]
6e974813f8
release: cargo-toml-workspace v3.0.0 ( #1483 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-11-11 08:00:28 +00:00
Jiahao XU
5064e4e188
CI: Cache zig global_cache to speedup build ( #1481 )
...
* CI: Cache zig global_cache to speedup build
This can be helpful in two situations:
- If `cc` is bumped to a new release, then all the `*-sys` crates will
be rebuilt even if their source doesn't change.
Caching zig global_cache would avoid expensive rebuilds.
- For target `x86_64h-apple-darwin`, it uses build-std which means the
rust cache is quite ineffective (only build-dependencies are cached),
so we would also need zig global_cache to avoid rebuilding c
dependencies in CI.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix missing `shell: bash`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix CI: Create symlink to `zig`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* CI: Fix getting output from prev step in just-setup
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* CI: Include job_id `github.job` in zig cache key
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-11 07:34:36 +00:00
dependabot[bot]
8dff97a0a2
build(deps): bump the deps group with 5 updates ( #1482 )
...
Bumps the deps group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.4.7` | `4.4.8` |
| [file-format](https://github.com/mmalecot/file-format ) | `0.21.0` | `0.22.0` |
| [command-group](https://github.com/watchexec/command-group ) | `3.0.0` | `4.1.0` |
| [toml_edit](https://github.com/toml-rs/toml ) | `0.20.7` | `0.21.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.19.0` | `0.20.0` |
Updates `clap` from 4.4.7 to 4.4.8
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.4.7...v4.4.8 )
Updates `file-format` from 0.21.0 to 0.22.0
- [Release notes](https://github.com/mmalecot/file-format/releases )
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mmalecot/file-format/compare/v0.21.0...v0.22.0 )
Updates `command-group` from 3.0.0 to 4.1.0
- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md )
- [Commits](https://github.com/watchexec/command-group/compare/v3.0.0...v4.1.0 )
Updates `toml_edit` from 0.20.7 to 0.21.0
- [Commits](https://github.com/toml-rs/toml/compare/v0.20.7...v0.21.0 )
Updates `default-net` from 0.19.0 to 0.20.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.19.0...v0.20.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: command-group
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: deps
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-11 06:32:43 +00:00
github-actions[bot]
70afd8419d
dep: Upgrade transitive dependencies ( #1480 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-11-10 03:53:23 +00:00
Jiahao XU
d76a40bf7d
Rm unnecessary warning msg "Failed to read git credential file" ( #1479 )
...
* Rm unnecessary warning msg "Failed to read git credential file"
Fixed #1476
If `gh auth token` executed successfully and binstall obtained a gh
token from it, then there's no reason to issue any warning msg.
Only when binstall cannot read from `.git-credential` and
`gh auth token` failed does binstall need to issue warning.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix clippy warning
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-11-08 22:06:32 +00:00
dependabot[bot]
3414c4ee83
build(deps): bump the deps group with 3 updates ( #1478 )
...
Bumps the deps group with 3 updates: [command-group](https://github.com/watchexec/command-group ), [default-net](https://github.com/shellrow/default-net ) and [cargo_toml](https://gitlab.com/lib.rs/cargo_toml ).
Updates `command-group` from 2.1.0 to 3.0.0
- [Changelog](https://github.com/watchexec/command-group/blob/main/CHANGELOG.md )
- [Commits](https://github.com/watchexec/command-group/compare/v2.1.0...v3.0.0 )
Updates `default-net` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.18.0...v0.19.0 )
Updates `cargo_toml` from 0.16.3 to 0.17.0
- [Commits](https://gitlab.com/lib.rs/cargo_toml/compare/v0.16.3...v0.17.0 )
---
updated-dependencies:
- dependency-name: command-group
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: cargo_toml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-04 01:44:22 +00:00
github-actions[bot]
6454a1df05
dep: Upgrade transitive dependencies ( #1477 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-11-03 03:46:55 +00:00
dependabot[bot]
b86bf5f2e1
build(deps): bump the deps group with 2 updates ( #1475 )
...
Bumps the deps group with 2 updates: [tracing-log](https://github.com/tokio-rs/tracing ) and [toml_edit](https://github.com/toml-rs/toml ).
Updates `tracing-log` from 0.1.4 to 0.2.0
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-log-0.1.4...tracing-log-0.2.0 )
Updates `toml_edit` from 0.20.5 to 0.20.7
- [Commits](https://github.com/toml-rs/toml/compare/v0.20.5...v0.20.7 )
---
updated-dependencies:
- dependency-name: tracing-log
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: toml_edit
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-28 01:41:46 +00:00
github-actions[bot]
24f5796a7c
dep: Upgrade transitive dependencies ( #1474 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-27 03:54:06 +00:00
github-actions[bot]
dc20cb7eb3
release: cargo-binstall v1.4.4 ( #1473 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 13:29:59 +00:00
github-actions[bot]
b935529fd0
dep: Upgrade transitive dependencies ( #1472 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 12:40:16 +00:00
github-actions[bot]
61748689b3
release: binstalk-downloader v0.9.3 ( #1471 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-22 12:20:39 +00:00
github-actions[bot]
9cfc0cd5f9
dep: Upgrade transitive dependencies ( #1470 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-20 13:01:33 +00:00
Jiahao XU
8efc19b3c3
dep: Update trust-dns-resolver v0.23.0 => hickory-resolver 0.24.0 ( #1467 )
...
It's renamed to hickory-resolver.
Also enabled new feature `hickory-resolver/dns-over-h3` if `rustls` is
enabled.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-20 11:48:46 +00:00
Jiahao XU
7e132f690d
Fix CI: Use cargo-hack
0.6.10 ( #1468 )
...
* Fix ci: Install deps before caching and include `JUST*` env values in caching key
To make sure caching is done properly and does not accidentally include
(old) pre-built binaries that we don't want.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix missing `shell`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix justfile target `check`: Call `cargo hack check` directly
without using the `CARGO=cargo-zigbuild` env since `leon` does not use
external C/C++ compiler anyway.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* CI: Dowgrade cargo-hack to 0.6.10
This is the last version working
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-20 10:37:54 +00:00
dependabot[bot]
4de2d0f49c
build(deps): bump the deps group with 6 updates ( #1465 )
...
Bumps the deps group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [tracing](https://github.com/tokio-rs/tracing ) | `0.1.37` | `0.1.39` |
| [async-compression](https://github.com/Nullus157/async-compression ) | `0.4.3` | `0.4.4` |
| [flate2](https://github.com/rust-lang/flate2-rs ) | `1.0.27` | `1.0.28` |
| [zstd](https://github.com/gyscos/zstd-rs ) | `0.12.4` | `0.13.0` |
| [default-net](https://github.com/shellrow/default-net ) | `0.17.0` | `0.18.0` |
| [gix](https://github.com/Byron/gitoxide ) | `0.54.1` | `0.55.2` |
Updates `tracing` from 0.1.37 to 0.1.39
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
Updates `async-compression` from 0.4.3 to 0.4.4
- [Release notes](https://github.com/Nullus157/async-compression/releases )
- [Changelog](https://github.com/Nullus157/async-compression/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Nullus157/async-compression/compare/async-compression-v0.4.3...async-compression-v0.4.4 )
Updates `flate2` from 1.0.27 to 1.0.28
- [Release notes](https://github.com/rust-lang/flate2-rs/releases )
- [Commits](https://github.com/rust-lang/flate2-rs/compare/1.0.27...1.0.28 )
Updates `zstd` from 0.12.4 to 0.13.0
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/v0.12.4...v0.13.0 )
Updates `default-net` from 0.17.0 to 0.18.0
- [Release notes](https://github.com/shellrow/default-net/releases )
- [Commits](https://github.com/shellrow/default-net/compare/v0.17.0...v0.18.0 )
Updates `gix` from 0.54.1 to 0.55.2
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.54.1...gix-v0.55.2 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: async-compression
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: flate2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
- dependency-name: zstd
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: default-net
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 10:01:27 +00:00
dependabot[bot]
449a3973d9
build(deps): bump tracing-core from 0.1.31 to 0.1.32 ( #1461 )
...
Bumps [tracing-core](https://github.com/tokio-rs/tracing ) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-core-0.1.31...tracing-core-0.1.32 )
---
updated-dependencies:
- dependency-name: tracing-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-14 02:12:29 +00:00
github-actions[bot]
f73d11d0e3
dep: Upgrade transitive dependencies ( #1458 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-13 07:07:59 +00:00
George Pollard
c577893878
Change Powershell architecture detection ( #1456 )
2023-10-13 03:10:12 +00:00
Félix Saparelli
3cf76cd0a9
Downgrade DNS info! to debug! ( #1454 )
...
* Downgrade DNS info! to debug!
* Update resolver.rs
2023-10-10 05:51:55 +00:00
github-actions[bot]
e47b908a05
release: cargo-binstall v1.4.3 ( #1452 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-08 08:21:00 +00:00
github-actions[bot]
3b42aa3d0f
release: binstalk v0.17.1 ( #1449 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 22:52:35 +11:00
github-actions[bot]
6f6426c247
release: binstalk-fetchers v0.2.1 ( #1448 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 08:39:55 +00:00
github-actions[bot]
113e9d40a3
release: binstalk-downloader v0.9.2 ( #1447 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:50:55 +00:00
github-actions[bot]
71764ca62c
release: binstalk-types v0.6.1 ( #1446 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 07:08:48 +00:00
github-actions[bot]
274a1975eb
release: fs-lock v0.1.1 ( #1443 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 06:10:11 +00:00
github-actions[bot]
45518cb65e
release: detect-targets v0.1.13 ( #1444 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 06:10:03 +00:00
github-actions[bot]
39d22510b6
release: simple-git v0.1.1 ( #1445 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 06:09:58 +00:00
github-actions[bot]
63db6686d5
dep: Upgrade transitive dependencies ( #1442 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-07 04:58:29 +00:00
dependabot[bot]
49592890f9
build(deps): bump the deps group with 2 updates ( #1441 )
...
Bumps the deps group with 2 updates: [fs4](https://github.com/al8n/fs4-rs ) and [proc-macro2](https://github.com/dtolnay/proc-macro2 ).
Updates `fs4` from 0.6.6 to 0.7.0
- [Release notes](https://github.com/al8n/fs4-rs/releases )
- [Commits](https://github.com/al8n/fs4-rs/commits/0.7.0 )
Updates `proc-macro2` from 1.0.67 to 1.0.68
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.67...1.0.68 )
---
updated-dependencies:
- dependency-name: fs4
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: proc-macro2
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-07 02:02:23 +00:00
github-actions[bot]
101737e058
dep: Upgrade transitive dependencies ( #1438 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-10-06 13:04:34 +00:00
Jiahao XU
ceba74870e
Fix clippy errors in cargo v1.73.0 ( #1439 )
...
It actually improves the quality of our code!
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-10-06 12:10:42 +00:00
Sculas
af04e45b5a
feat: logging for DNS resolver (also fixes #1417 ) ( #1436 )
...
* feat: logging for dns resolver
* refactor: fix clippy warnings
* refactor: actually fix clippy warnings
* refactor: apply requested changes
2023-10-05 11:00:07 +00:00
dependabot[bot]
59963c712f
build(deps): bump the deps group with 2 updates ( #1433 )
...
Bumps the deps group with 2 updates: [file-format](https://github.com/mmalecot/file-format ) and [gix](https://github.com/Byron/gitoxide ).
Updates `file-format` from 0.20.0 to 0.21.0
- [Release notes](https://github.com/mmalecot/file-format/releases )
- [Changelog](https://github.com/mmalecot/file-format/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mmalecot/file-format/compare/v0.20.0...v0.21.0 )
Updates `gix` from 0.53.1 to 0.54.1
- [Release notes](https://github.com/Byron/gitoxide/releases )
- [Changelog](https://github.com/Byron/gitoxide/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Byron/gitoxide/compare/gix-v0.53.1...gix-v0.54.1 )
---
updated-dependencies:
- dependency-name: file-format
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
- dependency-name: gix
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: deps
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 14:08:07 +00:00
Jiahao XU
78eb0921e3
CI: Skip release-dry-run on pull_request ( #1435 )
...
For PRs opened by contributors who are not part of the cargo-bins team and for
PRs opened by dependabot, they cannot access the secrets, thus signing will
always fail.
Skipping release-dry-run on pull_request would fix that for them, while
retaining the signing stage on merge_queue and on main to ensure that the
release workflow is working.
It will also speedup CI for PR.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-30 13:36:23 +00:00
Jiahao XU
a69beccf1a
Bump dep trust-dns-reslver to v0.23.0 ( #1432 )
...
* Bump dep trust-dns-reslver to v0.23.0
Since we no longer enables `reqwest/trust-dns-resolver` anymore, we
don't need to keep this dependency is sync with upstream `reqwest`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix compilation
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-30 01:12:27 +00:00
Jiahao XU
8e08c65946
Fix fallback to cargo-install
: Use the default target unless user override ( #1430 )
...
* Fix fallback to `cargo-install`: Use the default target
which is guaranteed to work, instead of providing a custom `--target`
from `detect-targets`.
The one from `detect-targets` might report musl even if the `rustc`
reports gnu, since OSes like NixOS could use a custom glibc location
that prevent glibc binaries built for other OSes be run for them.
However, if we are compiling the crate and `rustc` defaults to glibc,
then it should be guaranteed to work.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Impl fn `DesiredTargets::get_initialized`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix fallback to `cargo-install`: Use user-provided override targets
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-30 00:22:21 +00:00
Jiahao XU
b56a8c3579
Fix detect-targets
glibc detection ( #1421 )
...
* Fix `detect-targets` glibc detection
Fixed #1420
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets` glibc detection for Fedora
Fedora 37-39 has glibc installed in `/lib64` and `/usr/lib64` instead of
`/lib` or `/usr/lib`.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Improve caching in `detect-targets-alpine-test`
Make sure it reuses cached artifacts instead of recompiling everything.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Mv `test-detect-targets-musl.sh` into `.github/scripts/`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Refactor `ci.yml`: Extract new job `detect-targets-build`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* FIx `detect-targets-ubuntu-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Avoid building the entire workspacein `detect-targets-build`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets-*-test`: `chmod +x detect-targets`
Also fixed testing on Alpine, to make sure it exits with status 1 on
assertion failure.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix typo
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Cache all crates in `detect-targets-build`
Since `detect-targets` rarely changes and is quite small, it is also
reasonable to cache it.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add job `detect-targets-more-glibc-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Add `detect-targets-nix-test`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix `detect-targets-nix-test` executing `detect-targets`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Fix workflow: Add all `detect-targets-*` jobs to be dep of `tests-pass`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-29 23:46:03 +00:00
Jiahao XU
86060fadc2
.github: build detect-targets with cli-logging ( #1428 ) ( #1429 )
...
Without this we get much less useful output if these tests fail.
Co-authored-by: Tamir Duberstein <tamird@gmail.com>
2023-09-29 05:23:03 +00:00
github-actions[bot]
1a244cb0d3
dep: Upgrade transitive dependencies ( #1427 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-09-29 04:04:23 +00:00
Jiahao XU
3d68641a6d
Fix release-packages
and release-cli
workflow ( #1422 )
...
* Fix `release-packages` and `release-cli` workflow
Fixed #1419
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Use `taiki-e/install-action` for `rsign2` & `rage` in `release-packages.yml`
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-29 02:49:43 +00:00