fix: don't disable v1 oracles #868
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.20.0 | |
- 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/... |