Skip to content

Go CI

Go CI #410

Workflow file for this run

name: Go CI
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
go-version: ['1.16', '1.18', '1.20']
steps:
- uses: actions/checkout@v4
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Build
run: go mod tidy && go build ./...
- name: Test
run: go test ./core/... -v -cover