Skip to content

Commit

Permalink
fix: permission denied when clean cache
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotxx committed Nov 21, 2024
1 parent d053dd6 commit 57c7c63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
go-version: '1.19'
- name: Clean cache directory
run: |
sudo chown -R $USER:$USER ~/go/pkg/mod/
sudo chown -R $USER:$USER ~/.cache/go-build/
rm -rf ~/go/pkg/mod/*
rm -rf ~/.cache/go-build/*
# NOTE: This golangci-lint action MUST be specified as v2 version, otherwise an error will be reported:
Expand Down

0 comments on commit 57c7c63

Please sign in to comment.