mathworks / MATLAB-extension-for-vscode

This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more.
https://marketplace.visualstudio.com/items?itemName=MathWorks.language-matlab
MIT License
234 stars 15 forks source link

Update GitHub actions workflows #102

Closed mcafaro closed 7 months ago

mcafaro commented 7 months ago

This change updates all GitHub Actions workflows to use the newest version of actions, the most relevant being setup-matlab@v2. It also modifies the tests to run against R2021a and latest, rather than R2021b and R2023a, which more closely aligns with the range of releases the extension supports.

The special-case search for the macOS MATLAB install path was also removed because setup-matlab@v2 installs MATLAB into the runner tool cache, which is not under /Applications. The standard logic used to find MATLAB via the system PATH appears to be sufficient on all platforms and is relied upon instead.

jdhameli commented 7 months ago

Looks good! Thanks for making these changes!