From 97c20d348fa0cc0db42ec5fcc5b55c422f14b9e4 Mon Sep 17 00:00:00 2001 From: gitsrc <34047788+gitsrc@users.noreply.github.com> Date: Mon, 7 Oct 2024 12:15:21 +0000 Subject: [PATCH] feat(framework):update framework Signed-off-by: gitsrc <34047788+gitsrc@users.noreply.github.com> --- .github/workflows/build.yml | 43 +++++++++++++++++++++++++++++++++++++ .github/workflows/pages.yml | 43 ------------------------------------- 2 files changed, 43 insertions(+), 43 deletions(-) create mode 100644 .github/workflows/build.yml delete mode 100644 .github/workflows/pages.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..7ef79f2 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,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@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: 1.23.2 + + - name: Build + run: | + cd example/memory_kv/ + go build diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml deleted file mode 100644 index bec2c96..0000000 --- a/.github/workflows/pages.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Pages - -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@v4 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: 1.23.2 - - - name: Build - run: | - cd example/memory_kv/ - go build