Compare commits

..

2 commits

Author SHA1 Message Date
e2dadc142b
wip: report package sizes
Some checks failed
/ check (push) Successful in 49s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 3s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 19s
/ build (nvim) (push) Successful in 10s
/ report-size (pull_request) Failing after 25s
Added as a comment to the current pull request
2024-12-15 11:03:23 +01:00
6bde92bd91
[chore] flake.lock: update inputs
All checks were successful
/ check (push) Successful in 47s
/ build (audiomenu) (push) Successful in 1s
/ build (docs) (push) Successful in 1s
/ build (jpassmenu) (push) Successful in 1s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 1s
/ build (nvim) (push) Successful in 1s
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a0f3e10d94359665dba45b71b4227b0aeb851f8e' (2024-12-10)
  → 'github:NixOS/nixpkgs/314e12ba369ccdb9b352a4db26ff419f7c49fa84' (2024-12-13)
• Updated input 'nixvim':
    'github:nix-community/nixvim/c181014422fa9261db06fc9b5ecbf67f42c30ec3' (2024-12-13)
  → 'github:nix-community/nixvim/58d2a5ac9cc4ff987e6edb77f2b55d1dec05ce50' (2024-12-15)
2024-12-15 03:00:55 +01:00
2 changed files with 10 additions and 6 deletions

View file

@ -18,8 +18,12 @@ package_size_table() {
} }
if [ "$CI" = "true" ]; then if [ "$CI" = "true" ]; then
echo "Logging in to $GITHUB_SERVER_URL with default token"
tea login add --url "$GITHUB_SERVER_URL" --token "$GITHUB_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) 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" "$( tea comment "$pr_index" "$(
cat <<-EOF cat <<-EOF
### NixOS Configurations sizes ### NixOS Configurations sizes

12
flake.lock generated
View file

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