Skip to content

Commit

Permalink
Update autoformat.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rdw-software committed Oct 19, 2024
1 parent 7346ff2 commit 04d940b
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/autoformat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ jobs:
shell: ${{ matrix.shell }}

steps:
# TODO use actions/cache to avoid having to download every time
- name: Install clang-format
run: |
deps/get-clang-format.sh
ls -l
echo $(pwd) >> $GITHUB_PATH
clang-format --version
- name: Disable autocrlf # Messes up everything on Windows since the formatter applies \n
run: |
git config --global core.autocrlf false
Expand All @@ -57,6 +48,14 @@ jobs:
fetch-depth: 1
submodules: false

# TODO use actions/cache to avoid having to download every time
- name: Install clang-format
run: |
deps/get-clang-format.sh
ls -l
echo $(pwd) >> $GITHUB_PATH
clang-format --version
- name: Install stylua
run: |
wget https://github.com/JohnnyMorganz/StyLua/releases/download/${{ env.EVO_STYLUA_VERSION }}/${{ matrix.stylua }}
Expand Down

0 comments on commit 04d940b

Please sign in to comment.