Skip to content

Commit

Permalink
Last try: does ./cmd/sops alone suffices?
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Feb 21, 2021
1 parent eee201f commit 90f3358
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,28 +27,23 @@ jobs:
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
path: ~/go/src/go.mozilla.org/sops/v3
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: GOOS=${{ matrix.os }} go build -o ~/go/src/go.mozilla.org/sops/v3/sops-${{ matrix.os }}-${{ github.sha }} -v ./cmd/sops
working-directory: ~/go/src/go.mozilla.org/sops/v3
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
working-directory: ~/go/src/go.mozilla.org/sops/v3
- name: Test
run: make test
working-directory: ~/go/src/go.mozilla.org/sops/v3
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: sops-${{ matrix.os }}-${{ github.sha }}
path: ~/go/src/go.mozilla.org/sops/v3/sops-${{ matrix.os }}-${{ github.sha }}
path: sops-${{ matrix.os }}-${{ github.sha }}
test:
name: Functional tests
runs-on: ubuntu-latest
Expand Down

0 comments on commit 90f3358

Please sign in to comment.