[AV-128953] Add acceptance tests for data management resources #2228
Workflow file for this run
This file contains hidden or 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: Unit Tests | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code repository source code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 # this action has caching built in | |
| with: | |
| go-version-file: 'go.mod' | |
| cache: false | |
| id: go | |
| - uses: actions/cache@v4 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: cache-${{ github.run_id }} | |
| - name: Vet | |
| run: make vet | |
| - name: Test | |
| run: make test |