Skip to content

golang cache test

golang cache test #6

Workflow file for this run

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