Skip to content

Merge pull request #4 from springload/feature/arm #21

Merge pull request #4 from springload/feature/arm

Merge pull request #4 from springload/feature/arm #21

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 ./...