Bump versions of Github actions to versions using Node 20 (backport #4116) (#4118)

* Bump versions of Github actions to versions using Node 20 (#4116)

Node 16 is deprecated and will eventually stop being supported.

(cherry picked from commit 99aa9f1e)

# Conflicts:
#	.github/workflows/test.yml

* Resolve backport conflicts

---------

Co-authored-by: Jack Koenig <koenig@sifive.com>
9 jobs for 6.x
in 0 seconds and was queued for 93 minutes and 4 seconds