Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Merge pull request #43 from pokt-foundation/use-copy-from #110

Merge pull request #43 from pokt-foundation/use-copy-from

Merge pull request #43 from pokt-foundation/use-copy-from #110

Workflow file for this run

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