Skip to content

fix: update sdk-go #451

fix: update sdk-go

fix: update sdk-go #451

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Generate Test files
uses: actions/cache@v2
id: cache-packages # give it a name for checking the cache hit-or-not
with:
path: ./inputs/ # what we cache: the folder
key: ${{ runner.os }}-${{ hashFiles('./jsonnet/**') }}
- run: go install github.com/google/go-jsonnet/cmd/...@latest && ./generate-test.sh
if: steps.cache-packages.outputs.cache-hit != 'true'
- name: Run Test
run: go test ./tests && go test ./services && go test ./ds && go test ./models/...