ci: update actions to `v3`
Created by: c-dilks
This clears CI warnings such as:
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-java@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Starting from actions/setup-java
v2, the distribution
is required. The default for v1 was zulu
.