Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
rishinair11 committed Jul 21, 2024
1 parent 0824d34 commit a351a38
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ jobs:
run: |
curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
- name: Clean modcache
run: |
make go-clean
- name: Build binary
run: |
make build
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ test:
mod-download-tidy:
$(GO) mod download && $(GO) mod tidy

go-clean:
$(GO) clean -modcache

# Clean up
clean:
rm -rf $(BUILD_DIR)
Expand Down

0 comments on commit a351a38

Please sign in to comment.