Skip to content

Handle context done in event processing #453

Handle context done in event processing

Handle context done in event processing #453

Workflow file for this run

name: 'CI'
on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- edited
workflow_call:
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: 'Install Go'
if: success()
uses: actions/setup-go@v2
with:
go-version: 1.18.x
- name: 'Checkout code'
uses: actions/checkout@v2
with:
submodules: "true"
- name: 'Cache go modules'
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
#Core module
- name: 'Run linters core module'
uses: golangci/golangci-lint-action@v3
with:
working-directory: 'core'
version: v1.50
args: --timeout 5m
- name: 'Run unit tests core module'
run: go test -v ./core/...