mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-30 15:07:49 -04:00
ci: cache go modules from core/go.sum, retry downloads
This commit is contained in:
1 parent
9b413296b1
commit
1fb9f5271a
4 files changed
+9
No files matched your search
@@ -26,6 +26,11 @@ jobs:
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version-file: core/go.mod
|
||||
cache-dependency-path: core/go.sum
|
||||
|
||||
- name: Download Go modules
|
||||
working-directory: core
|
||||
run: for attempt in 1 2 3; do go mod download && exit 0; sleep 15; done; exit 1
|
||||
|
||||
- name: run pre-commit hooks
|
||||
uses: j178/prek-action@v2
|
||||
|
||||
Reference in new issue
Block a user