This repository has been archived by the owner on May 2, 2024. It is now read-only.
fix: WriteRelays to use multiple inserts #99
Workflow file for this run
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
name: Lint & Test | |
on: | |
pull_request: | |
branches: | |
- main | |
- staging | |
push: | |
branches: | |
- main | |
- staging | |
workflow_dispatch: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- name: Run Golang ci Action | |
uses: golangci/golangci-lint-action@v3 | |
build: | |
name: Test | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3 | |
- name: Set up cache | |
uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Build the Docker test stack | |
run: make test_env_up | |
- name: Run Unit tests | |
run: make run_driver_tests_ci |