diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml deleted file mode 100644 index 060b1fa..0000000 --- a/.github/workflows/go.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Go - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.21 - - - name: Build - run: | - export GO111MODULE=on - go build -v .server/... - -# - name: Test -# run: go test -v ./... diff --git a/.github/workflows/node.yaml b/.github/workflows/node.yaml deleted file mode 100644 index c6292d3..0000000 --- a/.github/workflows/node.yaml +++ /dev/null @@ -1,43 +0,0 @@ -# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - -name: Node.js CI - -on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] - -jobs: - build: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [20.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 - with: - node-version: ${{ matrix.node-version }} - cache: 'npm' - cache-dependency-path: client/package-lock.json - - - name: Install dependencies - run: npm ci - working-directory: client - - - name: Build project - run: npm run build - working-directory: client - -# - name: Test project -# run: npm test -# working-directory: client diff --git a/README.md b/README.md index d06ed06..432d734 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ > https://blood.liuzhaomax.cn/ [![Release](https://img.shields.io/github/v/release/liuzhaomax/blood-on-the-clock-tower)](https://github.com/liuzhaomax/blood-on-the-clock-tower/releases) -[![Build Status](https://github.com/liuzhaomax/blood-on-the-clock-tower/workflows/Run%20Tests/badge.svg?branch=master)](https://github.com/liuzhaomax/blood-on-the-clock-tower/releases) +[![Build Status](https://img.shields.io/github/actions/workflow/status/liuzhaomax/blood-on-the-clock-tower/blood.yml)](https://github.com/liuzhaomax/blood-on-the-clock-tower/tree/main) **亮点**: + 取代说书人角色,所有线下小伙伴都可以深度参与解谜