Skip to content

CI Build

CI Build #178

Workflow file for this run

name: CI Build
on:
push:
branches:
- main
- develop
schedule:
- cron: "0 8 * * 1" # At 08:00 on Monday
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.18.1
- name: Check out source code
uses: actions/checkout@v4
- name: Build
env:
GOPROXY: "https://proxy.golang.org"
working-directory: src
run: go build
- name: Test
env:
GOPROXY: "https://proxy.golang.org"
working-directory: src
run: go test -v