Skip to content

fix(exit-code): catch exit code #34

fix(exit-code): catch exit code

fix(exit-code): catch exit code #34

Workflow file for this run

name: "Test"
on:
- push
- pull_request
jobs:
test:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"
with:
fetch-depth: 0
- name: "Set up Go"
uses: "actions/setup-go@v2"
with:
go-version: "1.20"
- name: Get dependencies
run: go mod vendor
- name: Install PGP and SOPS Dev Key
run: |
sudo apt-get install pgpgpg &&
gpg --import vendor/go.mozilla.org/sops/v3/pgp/sops_functional_tests_key.asc
- uses: azure/setup-helm@v1
with:
version: 'latest'
id: install
- name: Build
run: go build .
- name: Test
run: go test -v .