From 6582859c5fcfaee4aab735de82ed5523c7576971 Mon Sep 17 00:00:00 2001
From: Palash Tyagi <23239946+Magnus167@users.noreply.github.com>
Date: Thu, 24 Apr 2025 14:23:12 +0100
Subject: [PATCH 1/2] Add step to save last commit date as JSON in coverage
report
---
.github/workflows/docs-and-testcov.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/.github/workflows/docs-and-testcov.yml b/.github/workflows/docs-and-testcov.yml
index 4668ed3..6234d13 100644
--- a/.github/workflows/docs-and-testcov.yml
+++ b/.github/workflows/docs-and-testcov.yml
@@ -67,6 +67,17 @@ jobs:
color:"blue"}' \
tarpaulin-report.json \
> tarpaulin-badge.json
+
+ - name: Save last commit date JSON
+ run: |
+ last_commit_date=$(git log -1 --format=%cd --date=short)
+ jq --arg date "$last_commit_date" \
+ '{schemaVersion:1,
+ label:"last-commit-date",
+ message:$date,
+ color:"blue"}' \
+ <(echo '{}') \
+ > last-commit-date.json
- name: Copy files to output directory
run: |
@@ -74,6 +85,7 @@ jobs:
cp tarpaulin-report.html target/doc/rustframe/
cp tarpaulin-report.json target/doc/rustframe/
cp tarpaulin-badge.json target/doc/rustframe/
+ cp last-commit-date.json target/doc/rustframe/
echo "" > target/doc/index.html
- name: Upload Pages artifact
From 4a668f828973ce33d078bbc0c6e24769d7d1ba3f Mon Sep 17 00:00:00 2001
From: Palash Tyagi
Date: Thu, 24 Apr 2025 14:30:04 +0100
Subject: [PATCH 2/2] Update README.md
---
README.md | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index d3839a6..6cfe6b5 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,9 @@
# rustframe
-[](https://codecov.io/gh/Magnus167/rustframe) [](https://magnus167.github.io/rustframe/rustframe/tarpaulin-report.html)
+
+___
+[](https://github.com/Magnus167/rustframe)
+[](https://codecov.io/gh/Magnus167/rustframe) [](https://magnus167.github.io/rustframe/rustframe/tarpaulin-report.html)
+___
A simple dataframe library.