ci: bump actions/checkout to 4 (#4474) Held back one due to https://github.com/libuv/libuv/pull/4451
misc: run sample CI when code changes (#4324)
doc: make sample cross-platform build (#3592) Co-authored-by: Ben Noordhuis <info@bnoordhuis.nl>