JohanDegraeve / xdripswift

xdrip for iOS, written in Swift
GNU General Public License v3.0
316 stars 310 forks source link

Bump node version for github action workflows #511

Closed dnzxy closed 3 months ago

dnzxy commented 3 months ago

This PR fixes the warning users currently see for browser build for node v16, i.e.

Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

In accordance with GitHub Actions: Transitioning from Node 16 to Node 20, all actions must be using node version 20. Bumping the node version from v16 to v20 by using aormsby/Fork-Sync-With-Upstream-action@v3.4.1 (latest release see here) and actions/checkout@v4 (which internally updated to node 20) as well as actions/upload-artifact@v4 (internally uses node 20).

See also LoopKit/LoopWorkspace#120, LoopKit/LoopCaregiver#37 as well as loopandlearn/LoopFollow#265

Apologies for the oversight on my part and forgetting to PR this sooner to xDrip4iOS.