-
Notifications
You must be signed in to change notification settings - Fork 15
43 lines (35 loc) · 950 Bytes
/
build.yml
File metadata and controls
43 lines (35 loc) · 950 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# deploy:
# runs-on: ubuntu-20.04
# concurrency:
# group: ${{ github.workflow }}-${{ github.ref }}
# steps:
# - uses: actions/checkout@v2
# with:
# submodules: true # Fetch Hugo themes (true OR recursive)
# fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
# - run: mv README.md doc/index.md
# - name: Deploy Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./doc
# enable_jekyll: true
build-example-kv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.24.0
- name: Build
run: |
cd example/memory_kv/
go build