mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 08:15:19 +00:00
lint
This commit is contained in:
parent
8a5a3c2496
commit
107431a311
@ -34,15 +34,15 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
- run:
|
- run:
|
||||||
name: Checkout with tags
|
name: Checkout with tags
|
||||||
command: |
|
command: |
|
||||||
git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}"
|
git fetch --force origin "refs/tags/${CIRCLE_TAG}:refs/tags/${CIRCLE_TAG}"
|
||||||
if [ -n "$CIRCLE_BRANCH" ]
|
if [ -n "$CIRCLE_BRANCH" ]
|
||||||
then
|
then
|
||||||
git reset --hard $CIRCLE_SHA1
|
git reset --hard $CIRCLE_SHA1
|
||||||
git checkout -q -B $CIRCLE_BRANCH
|
git checkout -q -B $CIRCLE_BRANCH
|
||||||
fi
|
fi
|
||||||
git reset --hard $CIRCLE_SHA1
|
git reset --hard $CIRCLE_SHA1
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: "Restore go modules cache"
|
name: "Restore go modules cache"
|
||||||
keys:
|
keys:
|
||||||
|
Loading…
Reference in New Issue
Block a user