ci: don't clean modules cache (#5519)

* chore(make): add `verify` command

Signed-off-by: Dwi Siswanto <git@dw1.io>

* ci: remove hygiene (`clean -modcache`) with verify instead

Signed-off-by: Dwi Siswanto <git@dw1.io>

---------

Signed-off-by: Dwi Siswanto <git@dw1.io>
This commit is contained in:
Dwi Siswanto
2024-08-15 20:15:42 +07:00
committed by GitHub
parent a5c7fe6094
commit 1e49cd9800
3 changed files with 7 additions and 9 deletions

View File

@@ -27,10 +27,8 @@ jobs:
with:
python-version: '3.10'
- name: Go Mod hygiene
run: |
go clean -modcache
go mod tidy
- name: Verify Go modules
run: make verify
- name: Build
run: go build .

View File

@@ -22,10 +22,8 @@ jobs:
- name: Set up Go
uses: projectdiscovery/actions/setup/go@v1
- name: Go Mod hygine
run: |
go clean -modcache
go mod tidy
- name: Verify Go modules
run: make verify
# Max GH exection time 6H => timeout after that
- name: Running performance with big list