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

Handle context done in event processing #457

Handle context done in event processing

Handle context done in event processing #457

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/...