From 585569e9294a7caaf773e16230f8cfee07df4316 Mon Sep 17 00:00:00 2001 From: Alex Goodman Date: Sat, 25 Jul 2020 07:18:21 -0400 Subject: [PATCH] fix gha go cache key; rm brew until oss release --- .github/workflows/acceptance-test.yaml | 4 ++-- .github/workflows/release.yaml | 4 ++-- .goreleaser.yaml | 13 +++++++------ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/acceptance-test.yaml b/.github/workflows/acceptance-test.yaml index 796d85c4d..63ffbc672 100644 --- a/.github/workflows/acceptance-test.yaml +++ b/.github/workflows/acceptance-test.yaml @@ -33,9 +33,9 @@ jobs: path: | ~/go/pkg/mod ${{ github.workspace }}/.tmp - key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('Makefile') }}-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}-${{ hashFiles('Makefile') }} restore-keys: | - ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('Makefile') }}- + ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}- ${{ runner.os }}-go-${{ env.GO_VERSION }}- - name: Bootstrap dependencies diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index c8b925528..0d69a1a7e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -82,9 +82,9 @@ jobs: path: | ~/go/pkg/mod ${{ github.workspace }}/.tmp - key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('Makefile') }}-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}-${{ hashFiles('Makefile') }} restore-keys: | - ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('Makefile') }}- + ${{ runner.os }}-go-${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }}- ${{ runner.os }}-go-${{ env.GO_VERSION }}- - name: Bootstrap dependencies diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 93477accf..242398840 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -29,12 +29,13 @@ nfpms: - rpm - deb -brews: - - tap: - owner: anchore - name: homebrew-syft - homepage: *website - description: *description +# TODO: add back in when open sourced +#brews: +# - tap: +# owner: anchore +# name: homebrew-syft +# homepage: *website +# description: *description archives: - format: tar.gz