From 24636e4f231a1559305b5d9549b48d217dd3b4e1 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 21 Feb 2021 18:46:12 +0100 Subject: [PATCH] Make sure that binary is built from current checkout, and not from master branch. (#820) --- .github/workflows/cli.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index c1da5ab31..30ffde52f 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -34,7 +34,7 @@ jobs: restore-keys: | ${{ runner.os }}-go- - name: Build - run: GOOS=${{ matrix.os }} go build -o sops-${{ matrix.os }}-${{ github.sha }} -v go.mozilla.org/sops/cmd/sops + run: GOOS=${{ matrix.os }} go build -o sops-${{ matrix.os }}-${{ github.sha }} -v ./cmd/sops - name: Import test GPG keys run: for i in 1 2 3 4 5; do gpg --import pgp/sops_functional_tests_key.asc && break || sleep 15; done - name: Test