From bd3c3d0455d7f8c1885d29896d448d4eb1f00f9e Mon Sep 17 00:00:00 2001 From: Yuma Ogami Date: Thu, 22 Feb 2024 01:16:43 +0000 Subject: [PATCH] update --- .github/workflows/e2e.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/e2e.yaml diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml new file mode 100644 index 00000000..3f07f824 --- /dev/null +++ b/.github/workflows/e2e.yaml @@ -0,0 +1,34 @@ +name: "e2e" +on: + pull_request: + paths-ignore: + - "**/*.md" + - "CODEOWNERS" + push: + paths-ignore: + - "**/*.md" + - "CODEOWNERS" + branches: + - "main" + +jobs: + build: + runs-on: "ubuntu-20.04" + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version-file: "go.mod" + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: cache go dependencies + uses: actions/cache@v4 + with: + path: | + ~/go/pkg/mod + ~/.cache/go-build + key: go-${{ hashFiles('go.sum', 'Makefile', 'versions.mk') }} + restore-keys: | + go- + - run: make -C e2e setup + - run: make -C e2e test