This repository has been archived by the owner on May 29, 2024. It is now read-only.
Bump go.uber.org/zap from 1.25.0 to 1.27.0 #429
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
# Go test workflow | |
name: test | |
on: | |
push: | |
branches: [ "master", "development" ] | |
pull_request: | |
branches: [ "master", "development" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Build App | |
run: make build-app | |
go-test: | |
outputs: | |
COVERAGE: ${{ steps.unit.outputs.coverage }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Install project dependencies | |
run: | | |
go mod download | |
- name: Run Unit Tests | |
id: unit | |
run: | | |
go test -v -coverprofile=coverage.out ./internal/... | |
e2e-test: | |
runs-on: larger-runner | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21 | |
- name: Install foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Generate devnet allocations | |
run: make devnet-allocs | |
- name: Run E2E Integration Tests | |
run: make e2e-test |