Skip to content

Allow to not use AKV if the name isn't set #15

Allow to not use AKV if the name isn't set

Allow to not use AKV if the name isn't set #15

Workflow file for this run

name: "Test the build"
on:
push:
pull_request:
jobs:
test:
name: test if akv-entrypoint can be built
runs-on: ubuntu-latest
steps:
-
name: checkout
uses: actions/checkout@v2
-
name: set up Go
uses: actions/setup-go@v1
with:
go-version: 1.18.x
-
name: cache modules
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
-
name: download dependencies
run: go mod download
-
name: build the app
run: go build
-
name: test the app
run: go test -v ./...