Compile all tests in cache populate step (#1534)

## Description

Compile all tests in cache populate step. The previous logic would only compile the test in the
local directory.

## Type of change

<!--- Please check the type of change your PR introduces: --->
- [ ] 🌻 Feature
- [ ] 🐛 Bugfix
- [ ] 🗺️ Documentation
- [ ] 🤖 Test
- [x] 💻 CI/Deployment
- [ ] 🐹 Trivial/Minor

## Issue(s)

<!-- Can reference multiple issues. Use one of the following "magic words" - "closes, fixes" to auto-close the Github issue. -->
* #<issue>

## Test Plan

<!-- How will this be tested prior to merging.-->
- [ ] 💪 Manual
- [ ]  Unit test
- [ ] 💚 E2E
This commit is contained in:
Vaibhav Kamra 2022-11-16 05:20:31 -08:00 committed by GitHub
parent fdbea0dcae
commit f938821960
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -56,6 +56,6 @@ runs:
# cover all the bases, just to be make sure we loaded everything we'll use
run: |
go mod download -x
go build -o compile
go test -v -c -o compile_test
go build ./...
go test -run=nope ./...
shell: bash

View File

@ -151,7 +151,6 @@ jobs:
uses: magnetikonline/action-golang-cache@v3
with:
go-version-file: src/go.mod
cache-key-suffix: -testsuite
- run: mkdir testlog
@ -214,7 +213,6 @@ jobs:
uses: magnetikonline/action-golang-cache@v3
with:
go-version-file: src/go.mod
cache-key-suffix: -lint
- name: Go Lint
uses: golangci/golangci-lint-action@v3