Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix github actions #679

Closed
draxaris1010 opened this issue Nov 16, 2024 · 6 comments
Closed

Fix github actions #679

draxaris1010 opened this issue Nov 16, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@draxaris1010
Copy link
Contributor

There might be something wrong with bulma
See the action runs on d2a2582

Sass::CompileError: Undefined function.

Error: Undefined function.
    ╷
108 │     "red": color.channel($color, "red", $space: rgb),
    │            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
  /home/runner/work/zeus.ugent.be/zeus.ugent.be/content/assets/stylesheets/bulma/sass/utilities/functions.scss 108:12         bulmaColorLuminance()
  /home/runner/work/zeus.ugent.be/zeus.ugent.be/content/assets/stylesheets/bulma/sass/utilities/functions.scss 137:7          bulmaFindColorInvert()
  /home/runner/work/zeus.ugent.be/zeus.ugent.be/content/assets/stylesheets/bulma/sass/utilities/derived-variables.scss 16:15  @forward
  /home/runner/work/zeus.ugent.be/zeus.ugent.be/content/assets/stylesheets/bulma/sass/utilities/_index.scss 6:1               @forward
  bulma/_index.scss 1:1                                                                                                       @use
  - 46:1                                                                                                                      root stylesheet

  0. /nix/store/cjrvinhsk987livlprkgb2j290yrhi45-ruby3.3-sass-embedded-1.79.3/lib/ruby/gems/3.3.0/gems/sass-embedded-1.79.3/lib/sass/compiler/host.rb:86:in `compile_request'
  1. /nix/store/cjrvinhsk987livlprkgb2j290yrhi45-ruby3.3-sass-embedded-1.79.3/lib/ruby/gems/3.3.0/gems/sass-embedded-1.79.3/lib/sass/compiler.rb:171:in `compile_string'
  2. /nix/store/cjrvinhsk987livlprkgb2j290yrhi45-ruby3.3-sass-embedded-1.79.3/lib/ruby/gems/3.3.0/gems/sass-embedded-1.79.3/lib/sass/embedded.rb:37:in `compile_string'
  3. lib/filters/dart_sass_custom.rb:18:in `run'
  4. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/filter.rb:188:in `setup_and_run'
  5. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/executor.rb:22:in `filter'
  6. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/compilation_phases/recalculate.rb:32:in `block in run'
  7. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/action_sequence.rb:48:in `each'
  8. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/action_sequence.rb:48:in `each'
  9. /nix/store/k1xrgfsbq7lxfyfzbxrprhx4djgnbry1-ruby3.3-nanoc-core-4.13.0/lib/ruby/gems/3.3.0/gems/nanoc-core-4.13.0/lib/nanoc/core/compilation_phases/recalculate.rb:29:in `run'
  ... 6 lines omitted (see crash.log for details)

https://github.com/ZeusWPI/zeus.ugent.be/actions/runs/11748071814/job/33062364860#step:3:157

@draxaris1010 draxaris1010 added the bug Something isn't working label Nov 16, 2024
@draxaris1010
Copy link
Contributor Author

The site does however build correctly without errors on my machine

@xerbalind
Copy link
Member

Did you update the submodules, particularly the Bulma one? The build action starts with updating those.

@draxaris1010
Copy link
Contributor Author

I've updated the submodule and now it fails with the same error

@xerbalind
Copy link
Member

Jup tried it on my machine, also failed.
Updating the dependencies helped see pr #677 on my machine. But it still fails with the build action. Also updated the gemset.nix and cleared the cache.

@xerbalind
Copy link
Member

So locally with the updated Gemfile.lock file it works but entering the nix shell with the updated gemset.nix still fails

@xerbalind
Copy link
Member

fixed by #677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants