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
github-actions[bot]
6ce60225d4
release: cargo-binstall v1.4.2 ( #1418 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-28 02:59:25 +00:00
github-actions[bot]
4344148566
release: binstalk-downloader v0.9.1 ( #1416 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-27 22:31:01 +00:00
Jiahao XU
b73c253275
Fix GhApiClient
: Accept any auth_token
given ( #1415 )
...
Fixed #1414
There are many different kinds of gh tokens and they can change the
format at anytime, so we can't check it based on its formats.
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-27 12:02:42 +00:00
github-actions[bot]
e41db2a297
release: cargo-binstall v1.4.1 ( #1406 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 23:42:26 +00:00
Félix Saparelli
216d548fd4
Use explicit write permissions ( #1404 )
...
* Use explicit write permissions
* Revert "release: cargo-binstall v1.4.1 (#1403 )"
This reverts commit 00941d8b43
.
2023-09-26 21:57:51 +00:00
Félix Saparelli
499e6b07fa
Upload packaged crate ( #1401 )
...
Upload packaged crate when not releasing
2023-09-26 13:30:47 +00:00
github-actions[bot]
00941d8b43
release: cargo-binstall v1.4.1 ( #1403 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 13:31:47 +00:00
Félix Saparelli
5d4333d5c8
Fix release build again ( #1400 )
...
* Fix build again
* Recommend (r)age over minisign password
* Dry-run the entire release process
* Reorg a bit so dry-run works
* Fix secret name
* Add check on age key
* Pass secrets down
* Use a cross-platform "date"
* Delete signing key artifact to be extra safe
* Last little bits
2023-09-26 11:17:17 +00:00
github-actions[bot]
3f29e13e42
release: cargo-binstall v1.4.0 ( #1399 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 07:46:42 +00:00
Félix Saparelli
49b37ff1e2
Revert "release: cargo-binstall v1.4.0" and fix ( #1398 )
...
* Revert "release: cargo-binstall v1.4.0 (#1397 )"
This reverts commit 99e8256018
.
* --allow-dirty on publish
* Remove private key file after generation
* Write public key file to bin crate and to package
* Upload public key file to release
2023-09-26 06:47:25 +00:00
github-actions[bot]
99e8256018
release: cargo-binstall v1.4.0 ( #1397 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-26 03:42:59 +00:00
github-actions[bot]
bf30d73f53
release: binstalk v0.17.0 ( #1396 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 12:29:23 +00:00
github-actions[bot]
df74a0d4f6
release: detect-targets v0.1.12 ( #1395 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 11:38:37 +00:00
github-actions[bot]
f87e0d0b46
dep: Upgrade transitive dependencies ( #1394 )
...
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 11:19:56 +00:00
github-actions[bot]
c8099a9d88
release: binstalk-registry v0.2.0 ( #1393 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 10:48:42 +00:00
github-actions[bot]
029f767a27
release: binstalk-bins v0.2.0 ( #1389 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 09:01:12 +00:00
github-actions[bot]
ac357069a3
release: binstalk-fetchers v0.2.0 ( #1390 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 09:00:55 +00:00
github-actions[bot]
3388ab98b9
release: cargo-toml-workspace v2.0.0 ( #1392 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 09:00:47 +00:00
github-actions[bot]
1d8dfff3ba
release: binstalk-manifests v0.10.0 ( #1388 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 05:49:14 +00:00
Jiahao XU
1fe4702bde
Refactor cargo-toml-workspace
: Rm dep on binstalk-types
( #1386 )
...
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
2023-09-25 05:34:40 +00:00
github-actions[bot]
4ec44749f1
release: binstalk-downloader v0.9.0 ( #1387 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 05:32:33 +00:00
github-actions[bot]
d39bb918df
release: binstalk-types v0.6.0 ( #1384 )
...
chore: Release
Co-authored-by: github-actions <github-actions@github.com>
2023-09-25 02:31:02 +00:00
Jiahao XU
190ef7b8e7
Doc: Provide solutions for common problems encountered during signing ( #1383 )
...
* Doc: Provide solutions for common problems encountered during signing
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
* Apply suggestions from code review
Co-authored-by: Félix Saparelli <felix@passcod.name>
---------
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Félix Saparelli <felix@passcod.name>
2023-09-23 13:13:23 +00:00