Describe the bug
To my surprise my build started failing due to a compilation issue/packages failing on Julia 1.7. I remember that one week ago I pinned Julia 1.6 version for now, but today I see this is failing again but only on MacOS. It seems that GitHub Actions are switching to a new version of MacOS (11) which maybe (?) includes a preinstalled Julia 1.7: actions/runner-images#4060 ?
To Reproduce
Workflow file to reproduce the behavior:
env:
JULIA_LANGSERVER: 3.2.0
jobs:
test:
name: test
os: macos-latest
steps:
- name: Install Julia
uses: julia-actions/setup-julia@v1
with:
version: '1.6'
- name: Install Julia language server
run: julia -e 'using Pkg; Pkg.add(Pkg.PackageSpec(;name="LanguageServer", version="${{ env.JULIA_LANGSERVER }}"))'
Expected behavior
Is this expected that the system-wide installation prevails? If yes, I would suggest adding a suggestion to uninstall system-native version on MacOS be added to the readme, otherwise I would just expect the action to take care of it (by making the path to the newly installed julia win out).
Screenshots/Build logs
Clearly system-wide 1.7 wins out:

