Compare commits

4 Commits

Author SHA1 Message Date
a29a738a3d fix: add the webmanifest
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 9s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 10s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 7s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 11s
GitLeaks check / GitLeaks check (pull_request) Successful in 13s
hadolint check / hadolint check (pull_request) Successful in 17s
htmlhint check / htmlhint check (pull_request) Successful in 40s
markdownlint check / markdownlint check (pull_request) Successful in 41s
Prettier check / Prettier check (pull_request) Successful in 52s
checkov check / checkov check (pull_request) Successful in 1m51s
ShellCheck check / ShellCheck check (pull_request) Successful in 46s
Stylelint check / Stylelint check (pull_request) Successful in 33s
yamllint check / yamllint check (pull_request) Successful in 28s
Rust check / Rust check (pull_request) Successful in 13m13s
2025-08-07 15:11:00 +02:00
e9a208a9d1 ci: update the checks dependencies (#96) 2025-08-07 13:10:09 +00:00
0f1dfbadf8 style: satisfy Clippy warnings
All checks were successful
actionlint check / actionlint check (pull_request) Successful in 8s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 8s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 4s
dotenv-linter check / dotenv-linter check (pull_request) Successful in 10s
GitLeaks check / GitLeaks check (pull_request) Successful in 14s
hadolint check / hadolint check (pull_request) Successful in 15s
htmlhint check / htmlhint check (pull_request) Successful in 33s
Prettier check / Prettier check (pull_request) Successful in 27s
markdownlint check / markdownlint check (pull_request) Successful in 27s
ShellCheck check / ShellCheck check (pull_request) Successful in 30s
checkov check / checkov check (pull_request) Successful in 1m21s
Stylelint check / Stylelint check (pull_request) Successful in 27s
yamllint check / yamllint check (pull_request) Successful in 26s
Rust check / Rust check (pull_request) Successful in 13m31s
2025-08-07 14:46:53 +02:00
907ddaacbe ci: update the checks dependencies
Some checks failed
dotenv-linter check / dotenv-linter check (pull_request) Successful in 8s
GitLeaks check / GitLeaks check (pull_request) Successful in 16s
actionlint check / actionlint check (pull_request) Successful in 7s
conventional pull request title check / conventional pull request title check (pull_request) Successful in 4s
conventional commit messages check / conventional commit messages check (pull_request) Successful in 7s
hadolint check / hadolint check (pull_request) Successful in 16s
htmlhint check / htmlhint check (pull_request) Successful in 27s
markdownlint check / markdownlint check (pull_request) Successful in 26s
Prettier check / Prettier check (pull_request) Successful in 35s
ShellCheck check / ShellCheck check (pull_request) Successful in 28s
checkov check / checkov check (pull_request) Successful in 1m21s
Stylelint check / Stylelint check (pull_request) Successful in 28s
yamllint check / yamllint check (pull_request) Successful in 25s
Rust check / Rust check (pull_request) Failing after 6m30s
2025-08-07 12:45:45 +02:00
8 changed files with 17 additions and 15 deletions

View File

@ -22,7 +22,7 @@ jobs:
with: with:
python-version: "3.13.1" python-version: "3.13.1"
- name: Rust toolchain installation - name: Rust toolchain installation
uses: dtolnay/rust-toolchain@0579bb9e1907e560c2f263f705f93655a44a07e5 uses: dtolnay/rust-toolchain@6691ebadcb18182cc1391d07c9f295f657c593cd
- name: code checkout - name: code checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with: with:

View File

@ -21,18 +21,20 @@ jobs:
run: > run: >
apt-get update && apt-get install -y apt-get update && apt-get install -y
libgtk-3-dev=3.24.33-1ubuntu2.2 libgtk-3-dev=3.24.33-1ubuntu2.2
libjavascriptcoregtk-4.1-dev=2.46.5-0ubuntu0.22.04.1 libjavascriptcoregtk-4.1-dev=2.48.3-0ubuntu0.22.04.1
libsoup-3.0-dev=3.0.7-0ubuntu1 libsoup-3.0-dev=3.0.7-0ubuntu1
libwebkit2gtk-4.1-dev=2.46.5-0ubuntu0.22.04.1 libwebkit2gtk-4.1-dev=2.48.3-0ubuntu0.22.04.1
libxdo-dev=1:3.20160805.1-4 libxdo-dev=1:3.20160805.1-4
- name: Rust toolchain installation - name: Rust toolchain installation
uses: dtolnay/rust-toolchain@0579bb9e1907e560c2f263f705f93655a44a07e5 uses: dtolnay/rust-toolchain@6691ebadcb18182cc1391d07c9f295f657c593cd
with: with:
components: clippy, rustfmt components: clippy, rustfmt
- name: code checkout - name: code checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with: with:
fetch-depth: 0 fetch-depth: 0
- name: .env symlink creation
run: ln -s .env.example .env
- name: npm build - name: npm build
run: npm install && npm run build run: npm install && npm run build
- name: rustfmt check - name: rustfmt check

View File

@ -45,7 +45,7 @@ impl From<diesel::result::Error> for ProjectError {
// Has to be implemented for Dioxus server functions. // Has to be implemented for Dioxus server functions.
impl Display for ProjectError { impl Display for ProjectError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", self) write!(f, "{self:?}")
} }
} }

View File

@ -65,7 +65,7 @@ impl From<ErrorVec<Error>> for ErrorVec<SubtaskError> {
// Has to be implemented for Dioxus server functions. // Has to be implemented for Dioxus server functions.
impl Display for SubtaskError { impl Display for SubtaskError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", self) write!(f, "{self:?}")
} }
} }

View File

@ -55,7 +55,7 @@ impl From<diesel::result::Error> for TaskError {
// Has to be implemented for Dioxus server functions. // Has to be implemented for Dioxus server functions.
impl Display for TaskError { impl Display for TaskError {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
write!(f, "{:?}", self) write!(f, "{self:?}")
} }
} }

View File

@ -12,10 +12,10 @@ async fn fetch_projects(keys: Vec<QueryKey>) -> QueryResult<QueryValue, QueryErr
match get_projects().await { match get_projects().await {
Ok(projects) => Ok(QueryValue::Projects(projects)), Ok(projects) => Ok(QueryValue::Projects(projects)),
Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)), Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)),
Err(error) => panic!("Unexpected error: {:?}", error), Err(error) => panic!("Unexpected error: {error:?}"),
} }
.into() .into()
} else { } else {
panic!("Unexpected query keys: {:?}", keys); panic!("Unexpected query keys: {keys:?}");
} }
} }

View File

@ -17,10 +17,10 @@ async fn fetch_subtasks_of_task(keys: Vec<QueryKey>) -> QueryResult<QueryValue,
match get_subtasks_of_task(*task_id).await { match get_subtasks_of_task(*task_id).await {
Ok(subtasks) => Ok(QueryValue::Subtasks(subtasks)), Ok(subtasks) => Ok(QueryValue::Subtasks(subtasks)),
Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)), Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)),
Err(error) => panic!("Unexpected error: {:?}", error), Err(error) => panic!("Unexpected error: {error:?}"),
} }
.into() .into()
} else { } else {
panic!("Unexpected query keys: {:?}", keys); panic!("Unexpected query keys: {keys:?}");
} }
} }

View File

@ -19,11 +19,11 @@ async fn fetch_tasks_in_category(keys: Vec<QueryKey>) -> QueryResult<QueryValue,
match get_tasks_in_category(category.clone()).await { match get_tasks_in_category(category.clone()).await {
Ok(tasks) => Ok(QueryValue::Tasks(tasks)), Ok(tasks) => Ok(QueryValue::Tasks(tasks)),
Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)), Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)),
Err(error) => panic!("Unexpected error: {:?}", error), Err(error) => panic!("Unexpected error: {error:?}"),
} }
.into() .into()
} else { } else {
panic!("Unexpected query keys: {:?}", keys); panic!("Unexpected query keys: {keys:?}");
} }
} }
@ -47,10 +47,10 @@ async fn fetch_tasks_with_subtasks_in_category(
match get_tasks_with_subtasks_in_category(category.clone()).await { match get_tasks_with_subtasks_in_category(category.clone()).await {
Ok(tasks) => Ok(QueryValue::TasksWithSubtasks(tasks)), Ok(tasks) => Ok(QueryValue::TasksWithSubtasks(tasks)),
Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)), Err(ServerFnError::WrappedServerError(errors)) => Err(QueryErrors::Error(errors)),
Err(error) => panic!("Unexpected error: {:?}", error), Err(error) => panic!("Unexpected error: {error:?}"),
} }
.into() .into()
} else { } else {
panic!("Unexpected query keys: {:?}", keys); panic!("Unexpected query keys: {keys:?}");
} }
} }