25 lines
455 B
YAML
25 lines
455 B
YAML
name: CI
|
|
on:
|
|
- pull_request
|
|
|
|
env:
|
|
GOPATH: /go_path
|
|
GOCACHE: /go_cache
|
|
RUNNER_TOOL_CACHE: /toolcache
|
|
|
|
jobs:
|
|
testing:
|
|
name: test
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- name: setup_go_from_cache
|
|
uses: ./.gitea/actions/setup_go_from_cache
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: build
|
|
run: make build
|
|
- name: test
|
|
run: make test
|