Skip to content

feat: run e2e tests on github actions #1

feat: run e2e tests on github actions

feat: run e2e tests on github actions #1

Workflow file for this run

name: Build and Test E2E
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Go environment
uses: actions/setup-go@v4
with:
go-version: '1.21.0'
- name: Install dependencies
run: sudo apt update && sudo apt install -y protoc-gen-go
- name: Install go dependencies
run: make install-deps
- name: Build
run: make build
- name: Test e2e
run: make e2e
- name: Test e2e (cached)
run: make e2e
- name: Upload build
uses: actions/upload-artifact@v3
with:
name: go-generate-fast
path: bin/go-generate-fast
retention-days: 7