1 codegen-unit This should optimize a bit for speed and a lot for size ~15MB smaller
Updated Github actions to use caching for the bake process
Added a schedule to clean the cache every week to prevent stale Debian/Alpine base images
During the release action, the Alpine/static binaries are added as artifects. Later we could also automatically add them to the releases maybe.
Added CODEWONERS to prevent unchecked changes to github actions workflows
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/dani-garcia/vaultwarden/pull/4126
**Author:** [@BlackDex](https://github.com/BlackDex)
**Created:** 12/4/2023
**Status:** ✅ Merged
**Merged:** 12/4/2023
**Merged by:** [@dani-garcia](https://github.com/dani-garcia)
**Base:** `main` ← **Head:** `check-compile-times`
---
### 📝 Commits (1)
- [`4846b0d`](https://github.com/dani-garcia/vaultwarden/commit/4846b0d71a17fc206ad3e78e08a37663bb87ba4b) Update Rust, Crates, Profile and Actions
### 📊 Changes
**12 files changed** (+412 additions, -209 deletions)
<details>
<summary>View changed files</summary>
➕ `.github/CODEOWNERS` (+3 -0)
📝 `.github/workflows/build.yml` (+1 -1)
📝 `.github/workflows/hadolint.yml` (+1 -1)
📝 `.github/workflows/release.yml` (+108 -10)
➕ `.github/workflows/releasecache-cleanup.yml` (+25 -0)
📝 `.github/workflows/trivy.yml` (+1 -2)
📝 `Cargo.lock` (+250 -174)
📝 `Cargo.toml` (+16 -14)
📝 `docker/DockerSettings.yaml` (+1 -1)
📝 `docker/Dockerfile.alpine` (+4 -4)
📝 `docker/Dockerfile.debian` (+1 -1)
📝 `rust-toolchain.toml` (+1 -1)
</details>
### 📄 Description
- Updated Rust to v1.74.0
- Updated all crates (where possible)
- Changed release profile to use
* fat lto
* 1 codegen-unit This should optimize a bit for speed and a lot for size ~15MB smaller
- Updated Github actions to use caching for the bake process
- Added a schedule to clean the cache every week to prevent stale Debian/Alpine base images
- During the release action, the Alpine/static binaries are added as artifects. Later we could also automatically add them to the releases maybe.
- Added CODEWONERS to prevent unchecked changes to github actions workflows
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/4126
Author: @BlackDex
Created: 12/4/2023
Status: ✅ Merged
Merged: 12/4/2023
Merged by: @dani-garcia
Base:
main← Head:check-compile-times📝 Commits (1)
4846b0dUpdate Rust, Crates, Profile and Actions📊 Changes
12 files changed (+412 additions, -209 deletions)
View changed files
➕
.github/CODEOWNERS(+3 -0)📝
.github/workflows/build.yml(+1 -1)📝
.github/workflows/hadolint.yml(+1 -1)📝
.github/workflows/release.yml(+108 -10)➕
.github/workflows/releasecache-cleanup.yml(+25 -0)📝
.github/workflows/trivy.yml(+1 -2)📝
Cargo.lock(+250 -174)📝
Cargo.toml(+16 -14)📝
docker/DockerSettings.yaml(+1 -1)📝
docker/Dockerfile.alpine(+4 -4)📝
docker/Dockerfile.debian(+1 -1)📝
rust-toolchain.toml(+1 -1)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.