yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
3e42d1bf2
master
1name : Formatting tools setup 2 3description : Performs setup common to the code formatting actions 4 5runs : 6using : composite 7steps : 8- name : install gersemi 9shell : bash 10run : | 11pip3 install gersemi==0.21 colorama 12 13- name : install clang-format 14shell : bash 15run : | 16tmpdir=$(mktemp -d) 17curl -L -H "Authorization: token ${{github.token}}" \ 18-o "$tmpdir/clang-format" \ 19https://github.com/shader-slang/slang-binaries/raw/306d22efc0f5f72c7230b0b6b7c99f03c46995bd/clang-format/x86_64-linux/bin/clang-format 20chmod +x "$tmpdir/clang-format" 21echo "$tmpdir" >> $GITHUB_PATH 22 23- name : install prettier 24shell : bash 25run : | 26npm install -g prettier@3.3.3 27echo "$(npm bin -g)" >> $GITHUB_PATH 28 29- name : install shfmt 30shell : bash 31run : | 32 tmpdir=$(mktemp -d) 33 curl -L -H "Authorization: token ${{github.token}}" \ 34 -o "$tmpdir/shfmt" \ 35 https://github.com/mvdan/sh/releases/download/v3.10.0/shfmt_v3.10.0_linux_amd64 36 chmod +x "$tmpdir/shfmt" 37 echo "$tmpdir" >> $GITHUB_PATH