Skip to content

CI Build

CI Build #288

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: Check out source code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.1
check-latest: true
cache-dependency-path: |
src/go.sum
- 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