golang cache test #6
Workflow file for this run
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: Testing the CI | |
on: | |
push: | |
branches: | |
- rp-ci-updates | |
jobs: | |
# docker: | |
# uses: ./.github/workflows/ci-docker.yml | |
# with: | |
# dockerhub-username: kavaops | |
# secrets: inherit | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo from current commit | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: | | |
go.sum | |
tests/e2e/kvtool/go.sum | |
- name: Configure docker to use go build cache | |
uses: reproducible-containers/buildkit-cache-dance@v2.1.2 | |
with: | |
cache-source: go-build-cache | |
- name: run unit tests | |
run: make test | |
- name: run e2e tests | |
run: make docker-build test-e2e |