mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
[ci] Update checkout action
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7da8b9ffa4
commit
12f16db1ac
1 changed files with 9 additions and 3 deletions
12
.github/workflows/test-and-build.yml
vendored
12
.github/workflows/test-and-build.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue