Compare commits

..

1 commit

Author SHA1 Message Date
8a529f91e4
wip: report package sizes
Some checks failed
/ check (push) Successful in 49s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 3s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 19s
/ build (nvim) (push) Successful in 9s
/ report-size (pull_request) Failing after 24s
Added as a comment to the current pull request
2024-12-15 00:56:18 +01:00
2 changed files with 6 additions and 10 deletions

View file

@ -18,12 +18,8 @@ package_size_table() {
}
if [ "$CI" = "true" ]; then
echo "Logging in to $GITHUB_SERVER_URL with default token"
tea login add --url "$GITHUB_SERVER_URL" --token "$GITHUB_TOKEN"
echo "Retrieving PR index for $GITHUB_HEAD_REF"
pr_index=$(tea pulls -f index,head -o simple | grep "$GITHUB_HEAD_REF" | head -n1 | cut -d' ' -f 1)
echo "Retrieved index: $pr_index"
echo "Expected PR URL: $GITHUB_SERVER_URL/$GITHUB_REPOSITORY/pulls/$pr_index"
tea comment "$pr_index" "$(
cat <<-EOF
### NixOS Configurations sizes

12
flake.lock generated
View file

@ -212,11 +212,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1734083684,
"narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=",
"lastModified": 1733808091,
"narHash": "sha256-KWwINTQelKOoQgrXftxoqxmKFZb9pLVfnRvK270nkVk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84",
"rev": "a0f3e10d94359665dba45b71b4227b0aeb851f8e",
"type": "github"
},
"original": {
@ -246,11 +246,11 @@
]
},
"locked": {
"lastModified": 1734223742,
"narHash": "sha256-vp3wSbCVU/4y5W+YI6H9PSix3WD7XbcIyesmB7W0ZWo=",
"lastModified": 1734103614,
"narHash": "sha256-H5JN0fajkKZLir/GN6QHmLsR3cW+/EIOR+W/VmwHKfI=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "58d2a5ac9cc4ff987e6edb77f2b55d1dec05ce50",
"rev": "c181014422fa9261db06fc9b5ecbf67f42c30ec3",
"type": "github"
},
"original": {