From 12f16db1acfe04a73ff059d1c72bf75e5e61b8c9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 15 Dec 2023 13:55:46 +0100 Subject: [PATCH] [ci] Update checkout action Signed-off-by: Knut Ahlers --- .github/workflows/test-and-build.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-and-build.yml b/.github/workflows/test-and-build.yml index b158b6e..5563ea2 100644 --- a/.github/workflows/test-and-build.yml +++ b/.github/workflows/test-and-build.yml @@ -36,6 +36,7 @@ jobs: curl \ diffutils \ git \ + git-lfs \ go \ golangci-lint-bin \ make \ @@ -47,10 +48,15 @@ jobs: which \ zip - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + with: + lfs: true + show-progress: false - - name: Marking workdir safe - run: git config --global --add safe.directory /__w/twitch-bot/twitch-bot + - name: Marking workdir safe and fetch tags + run: | + git config --global --add safe.directory /__w/twitch-bot/twitch-bot + git fetch --tags - name: Lint and test code run: make lint test frontend_lint