Commit graph

129 commits

Author SHA1 Message Date
Evan Read
8ec86dfee4
Add support for 64-bit ARM binary (#1774) 2025-07-25 12:06:15 +02:00
Trask Stalnaker
d1c651a469
Fix docker tagging for release versions (#1738) 2025-06-20 15:35:04 +02:00
Matthias Endler
973b2aa5e0
chore: update CI to install and verify cargo-msrv (#1706) 2025-05-18 02:02:35 +02:00
Keming
874b0f0ca2
chore: verify the MSRV in CI lint (#1696)
Signed-off-by: Keming <kemingy94@gmail.com>
2025-05-14 01:54:05 +02:00
Matthias Endler
648f8486a7
Update Docker Workflow To Support Version Tags (#1631) 2025-02-24 22:22:10 +01:00
Pedro Piñera Buendía
b1cb2564a2
Release the macOS binaries also as .tar.gz (#1642)
* Tar the macOS binary

* Upload the .tar.gz
2025-02-24 08:48:14 +01:00
Matthias Endler
a94a71261e
Remove exit early "if tag and not from release workflow" 2025-01-06 11:40:37 +01:00
Matthias Endler
a36bcf7f39
Remove publish step from CI pipeline, which is handled by release-plz 2024-12-19 00:37:51 +01:00
Trask Stalnaker
76dbd843f4
Fix nightly docker image (#1590)
* Fix nightly docker image

* fix path to release binary

* Update Dockerfile to support both latest and nightly

Also supports dedicated release names like `lychee-v0.17.0` now.

It can be built locally with

```
docker build --build-arg LYCHEE_VERSION=latest -f Dockerfile-CI.Dockerfile .
```

---------

Co-authored-by: Matthias <matthias@endler.dev>
2024-12-18 09:21:50 +01:00
Evan Read
685b653d14
Allow Docker pushes on release branches (#1568) 2024-12-05 14:02:45 +01:00
Thomas Zahner
998ef6c080
Update link check action (#1542) 2024-10-23 23:10:37 +02:00
Matthias Endler
e2814acaa4
fix: Remove tokio console subscriber (#1524)
The console subscriber is the source of quite a few papercuts like
https://github.com/lycheeverse/lychee/issues/1513.

Since we don't use it at the moment, I decided to remove it.
2024-10-12 02:19:31 +02:00
Matthias Endler
8026684d64
Use custom token here to allow triggering other pipelines 2024-10-07 15:51:18 +02:00
Matthias Endler
c4568a85f5
Use custom token here to allow triggering other pipelines 2024-10-07 15:50:27 +02:00
Matthias
829f5f3e72 Listen to additional release triggers for binary builds 2024-10-06 17:40:16 +02:00
Matthias
9fb9057c60 listen to more release triggers for binary builds 2024-10-06 17:12:15 +02:00
Matthias Endler
f1ac9264b4
Add release-plz and clean up workflows (#1510)
It's no secret that we're lacking behind on releases;
partially, because they are slightly tedious to create.

My hope is that this will be resolved by introducing `release-plz` [1],
which is automates publication whenever we push to `master`.

Along the way, I aligned the naming of the other workflows.

[1]: https://github.com/MarcoIeni/release-plz
2024-10-05 23:56:42 +02:00
Matthias Endler
bf19934949
Run cargo nextest in CI and enable all tests (#1483) 2024-08-13 18:45:09 +02:00
axel-kah
68dbbedca4
ci: fix wrong cpu-arch tag on macos release assets (#1484) 2024-08-09 16:24:07 +02:00
axel-kah
d0c5af9acf
Harmonizes naming pattern of pre-built binaries and unlocks latest permalink (#1464)
* ci: enables permalink for download of latest gh release assets

removes tag names to unlock latest-permalink

* ci: fix inconsistent gh release asset naming

changes macos and windows release assets to follow linux naming scheme: lychee-{cpu}-{platform}.{ext}

* ci: fix inconsistent asset naming of nightly builds

* ci: simplifies Dockerfiles by using latest permalink

* ci: adds comment to keep dependent files in sync
2024-08-06 18:04:57 +02:00
dependabot[bot]
1cc732c206
Bump docker/build-push-action from 5 to 6 in the dependencies group (#1449)
Bumps the dependencies group with 1 update: [docker/build-push-action](https://github.com/docker/build-push-action).


Updates `docker/build-push-action` from 5 to 6
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 16:27:23 +02:00
Matthias Endler
d5ddf66b00
reqwest 0.12 released 2024-03-23 00:28:57 +01:00
dependabot[bot]
54e63861b8
Bump the dependencies group with 2 updates (#1365)
Bumps the dependencies group with 2 updates: [peter-evans/dockerhub-description](https://github.com/peter-evans/dockerhub-description) and [peter-evans/create-issue-from-file](https://github.com/peter-evans/create-issue-from-file).


Updates `peter-evans/dockerhub-description` from 3 to 4
- [Release notes](https://github.com/peter-evans/dockerhub-description/releases)
- [Commits](https://github.com/peter-evans/dockerhub-description/compare/v3...v4)

Updates `peter-evans/create-issue-from-file` from 4 to 5
- [Release notes](https://github.com/peter-evans/create-issue-from-file/releases)
- [Commits](https://github.com/peter-evans/create-issue-from-file/compare/v4...v5)

---
updated-dependencies:
- dependency-name: peter-evans/dockerhub-description
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: peter-evans/create-issue-from-file
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-30 00:30:28 +01:00
Matthias Endler
3558031527
Try to improve build times (#1350)
Based on https://corrode.dev/blog/tips-for-faster-rust-compile-times/
2024-01-21 01:55:46 +01:00
Matthias Endler
8aa9081f1a
Ignore http updates until reqwest is updated 2024-01-08 14:06:29 +01:00
Matthias
d616411668 Update to newest output syntax 2024-01-05 17:53:15 +01:00
Matthias
089c737aeb simplify check 2024-01-05 17:39:35 +01:00
Matthias
d7965aa4fa Check if lychee-lib is already published 2024-01-05 17:32:39 +01:00
Matthias
6fa1ebefc9 Don't rebuild release on edit 2024-01-05 17:11:02 +01:00
Matthias
8a22b9f4fe Don't trigger Docker builds on tags if trigger is not coming through release workflow 2024-01-05 17:10:51 +01:00
Matthias
d2df655fff Only trigger Docker build on release completion
Also clean up other unneeded triggers.
2024-01-05 16:35:27 +01:00
Arkadiusz Skalski
9a89afefb1
ci: fix missing permissions for uploading release assets (#1330) 2024-01-05 15:36:14 +01:00
dependabot[bot]
f3ac86acbd
Bump the dependencies group with 1 update (#1321)
Bumps the dependencies group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).

- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 18:17:17 +01:00
dependabot[bot]
0f83890a87
Bump the dependencies group with 5 updates (#1257)
Bumps the dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [docker/metadata-action](https://github.com/docker/metadata-action) | `4` | `5` |
| [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) | `2` | `3` |
| [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `2` | `3` |
| [docker/login-action](https://github.com/docker/login-action) | `2` | `3` |
| [docker/build-push-action](https://github.com/docker/build-push-action) | `4` | `5` |


Updates `docker/metadata-action` from 4 to 5
- [Release notes](https://github.com/docker/metadata-action/releases)
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md)
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5)

Updates `docker/setup-qemu-action` from 2 to 3
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3)

Updates `docker/setup-buildx-action` from 2 to 3
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3)

Updates `docker/login-action` from 2 to 3
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2...v3)

Updates `docker/build-push-action` from 4 to 5
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: docker/metadata-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 23:10:08 +02:00
dependabot[bot]
4ebb475a80
Bump the dependencies group with 1 update (#1254)
Bumps the dependencies group with 1 update: [actions/checkout](https://github.com/actions/checkout).

- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-17 21:42:18 +02:00
Matthias Endler
7fe5ce2d90
Update release.yml 2023-08-24 13:54:25 +02:00
Viktor Szépe
653993a5bf
Create release.yml (#1243) 2023-08-23 12:31:27 +02:00
Matthias Endler
f4383d2db5
Group Dependabot updates into a single pull request 2023-08-22 16:50:37 +02:00
Keming
4dbbb5e674
ignore the error when deleting nightly tags (#1228)
Signed-off-by: Keming <kemingy94@gmail.com>
2023-08-17 16:23:25 +02:00
Keming
840bd90365
fix nightly release bash script (#1224)
Signed-off-by: Keming <kemingy94@gmail.com>
2023-08-17 14:19:06 +02:00
Keming
a3a058831d
Add nightly release (#1212) 2023-08-12 20:29:47 +02:00
Stefan Kreutz
d6ea7bbbc4
Improve 'cargo tree' check (#1200)
The '! cargo tree -i openssl-sys' command ignores when 'cargo tree'
fails for other reasons than not depending on the openssl-sys crate.
This commit changes the command to propagate such a failure.
2023-08-05 18:11:01 +02:00
Stefan Kreutz
b1b32e7717
Fix rustls-tls feature (#1194)
* Fix rustls-tls feature

Commit 14e74879 (cookie support #1146) re-introduced an unconditional
dependency on the openssl-sys crate. That is, building Lychee with the
Rustls TLS backend now requires OpenSSL. I suppose this change was
unintended, maybe due to automatic conflict resolution. If not, please
let me know.

You can review the re-introduced dependency like so:

```
cargo tree --no-default-features --features rustls-tls -i openssl-sys
```

This commit puts the OpenSSL dependency behind the native-tls feature
flag again.

You can check the TLS features like so:

```
cargo check --workspace --all-targets --features vendored-openssl

cargo check --workspace --all-targets --all-features

cargo check --workspace --all-targets --no-default-features --features rustls-tls
```

Maybe this should be added to CI. But I don't want to waste anybody's
time.

* Check feature flags during CI

Adds a new CI job 'check-feature-flags' to verify the following:

- Lychee with rustls-tls feature only doesn't depend on OpenSSL
- Cargo check passes with default features
- Cargo check passes with all features
- Cargo check passes with rustls-tls feature only
2023-08-04 15:11:29 +02:00
dependabot[bot]
ad7e1d0bfa
Bump actions/checkout from 2 to 3 (#1166)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 21:31:58 +02:00
Matthias Endler
1a1032f6a6
Set heading level to 2 2023-07-15 16:19:03 +02:00
Matthias Endler
798a7214a7
Update to latest toc-generator 2023-07-15 16:17:55 +02:00
Matthias Endler
df684048f7
Update toc-generator.yml 2023-07-15 16:15:33 +02:00
Manish Kuniyal
8341ab8ec6
Added TOC-generator (#1151) 2023-07-15 16:08:51 +02:00
Matthias Endler
f1adc788cf
Only create link issue on error 2023-06-30 23:46:25 +02:00
Dariusz Porowski
7a35a655d2
Alpine Docker Image Support (#1074) 2023-05-22 12:36:22 +02:00