[ci] Update checkout action

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-12-15 13:55:46 +01:00
parent 7da8b9ffa4
commit 12f16db1ac
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -36,6 +36,7 @@ jobs:
curl \ curl \
diffutils \ diffutils \
git \ git \
git-lfs \
go \ go \
golangci-lint-bin \ golangci-lint-bin \
make \ make \
@ -47,10 +48,15 @@ jobs:
which \ which \
zip zip
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with:
lfs: true
show-progress: false
- name: Marking workdir safe - name: Marking workdir safe and fetch tags
run: git config --global --add safe.directory /__w/twitch-bot/twitch-bot run: |
git config --global --add safe.directory /__w/twitch-bot/twitch-bot
git fetch --tags
- name: Lint and test code - name: Lint and test code
run: make lint test frontend_lint run: make lint test frontend_lint