1
0
mirror of https://github.com/getsops/sops.git synced 2026-02-05 12:45:21 +01:00

Make sure that binary is built from current checkout, and not from master branch. (#820)

This commit is contained in:
Felix Fontein
2021-02-21 18:46:12 +01:00
committed by GitHub
parent 5d1376d56d
commit 24636e4f23

View File

@@ -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