Verified Commit 749d5949 authored by WorldTeacher's avatar WorldTeacher
Browse files

fix(ci): update lua-format-check to download Stylua for x86_64 musl

parent 3102d2a7
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ lua-format-check:
    - if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
  before_script:
    - apk add --no-cache curl unzip
    - curl -fsSL -o /tmp/stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/download/v2.4.1/stylua-linux-musl.zip"
    - curl -fsSL -o /tmp/stylua.zip "https://github.com/JohnnyMorganz/StyLua/releases/download/v2.4.1/stylua-linux-x86_64-musl.zip"
    - unzip -o /tmp/stylua.zip -d /usr/local/bin
    - chmod +x /usr/local/bin/stylua
    - /usr/local/bin/stylua --version