Skip to content

Commit

Permalink
feat(ci):update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
gitsrc authored Jan 13, 2024
1 parent 89e4cf4 commit 2253302
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ name: Pages

on:
push:
branches:
- main # Set a branch name to trigger deployment
branches: [ main ]
pull_request:
branches: [ main ]


jobs:
deploy:
Expand All @@ -24,3 +26,18 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./doc
enable_jekyll: true

build-example-kv:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.18

- name: Build
run: |
cd example/memory_kv/
go build

0 comments on commit 2253302

Please sign in to comment.