Skip to content

fix github action cache error #256

fix github action cache error

fix github action cache error #256

Workflow file for this run

name: E2E Tests
on:
push:
branches:
- main
- 'rel/*'
pull_request:
branches:
- main
- 'rel/*'
# allow manually run the action:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: e2e test
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Cache go dependency
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Integration test
run: |
make e2e_test e2e_test_clean