@ 261105.2

261020.9 · 689635063e33d8a9f5fd962a93ff3a5331be89c8

build: download win32 emmylua binaries on Windows

- detect MINGW/MSYS/CYGWIN and `Windows_NT` (coreutils shims) as
win32, alternate x64/arm64 from `uname -m`
- use the `.zip` win32 assets with `.exe` binary names; extract with
`unzip`, falling back to PowerShell `Expand-Archive` (Git for
Windows ships GNU tar which cannot read zip archives)
- pass `--clobber` so an interrupted download can be retried
- resolve the linux arm64 asset suffix ("aarch64-glibc.2.17"); darwin
and win32 keep the plain "arm64" suffix

reading declarations

Changes to .github/. All files

.github/workflows/lint.yaml

@@ -22,17 +22,6 @@ jobs:           neovim: true           version: nightly -      # - name: Install lua-language-server-      #   env:-      #     GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}-      #   run: |-      #     cd-      #     gh release download 3.16.4 -R sumneko/lua-language-server -p '*-linux-x64.tar.gz' -D lua-language-server-      #     tar xzf lua-language-server/* -C lua-language-server-      #     echo "${PWD}/lua-language-server/bin" >> $GITHUB_PATH-      #     export PATH="${PWD}/lua-language-server/bin:${PATH}"-      #     lua-language-server --version-       - name: Install Emmylua         env:           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}@@ -43,4 +32,4 @@ jobs:         run: |           export XDG_DATA_HOME="$HOME/.local/share"           make deps-          make emmylua-check+          make lint