mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 03:42:08 +08:00
Update the document
This commit is contained in:
parent
f7b9766eae
commit
29aae538f9
2
.github/workflows/e2e-test.yml
vendored
2
.github/workflows/e2e-test.yml
vendored
@ -80,7 +80,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Module Operations
|
- name: Module Operations
|
||||||
run: |
|
run: |
|
||||||
sudo go mod tidy
|
|
||||||
echo "===========> Verifying go-gitlint is installed"
|
echo "===========> Verifying go-gitlint is installed"
|
||||||
if [ ! -f ./_output/tools/go-gitlint ]; then
|
if [ ! -f ./_output/tools/go-gitlint ]; then
|
||||||
export GOBIN=$(pwd)/_output/tools
|
export GOBIN=$(pwd)/_output/tools
|
||||||
@ -89,7 +88,6 @@ jobs:
|
|||||||
echo "===========> go-gitlint is installed in /home/ubuntu/DF/open-im-server/_output/tools/go-gitlint"
|
echo "===========> go-gitlint is installed in /home/ubuntu/DF/open-im-server/_output/tools/go-gitlint"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
- name: Build, Start(make build && make start)
|
- name: Build, Start(make build && make start)
|
||||||
run: |
|
run: |
|
||||||
sudo ./scripts/install/install.sh -i
|
sudo ./scripts/install/install.sh -i
|
||||||
|
|||||||
58
.github/workflows/golangci-lint.yml
vendored
58
.github/workflows/golangci-lint.yml
vendored
@ -1,58 +0,0 @@
|
|||||||
# Copyright © 2023 OpenIM open source community. All rights reserved.
|
|
||||||
#
|
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
# you may not use this file except in compliance with the License.
|
|
||||||
# You may obtain a copy of the License at
|
|
||||||
#
|
|
||||||
# http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
#
|
|
||||||
# Unless required by applicable law or agreed to in writing, software
|
|
||||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
# See the License for the specific language governing permissions and
|
|
||||||
# limitations under the License.
|
|
||||||
|
|
||||||
|
|
||||||
name: OpenIM golangci-lint
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [main]
|
|
||||||
pull_request:
|
|
||||||
jobs:
|
|
||||||
golangci:
|
|
||||||
name: lint
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.21'
|
|
||||||
cache: false
|
|
||||||
- name: OpenIM Scripts Verification(make verify)
|
|
||||||
run: |
|
|
||||||
cd scripts
|
|
||||||
for script in verify-*; do
|
|
||||||
if [ -x "$script" ]; then
|
|
||||||
./"$script"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
- name: golangci-lint
|
|
||||||
uses: golangci/golangci-lint-action@v4.0.0
|
|
||||||
with:
|
|
||||||
# Require: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
|
|
||||||
version: v1.54
|
|
||||||
|
|
||||||
# Optional: working directory, useful for monorepos
|
|
||||||
# working-directory: server
|
|
||||||
|
|
||||||
# Optional: golangci-lint command line arguments.
|
|
||||||
#
|
|
||||||
# Note: by default the `.golangci.yml` file should be at the root of the repository.
|
|
||||||
# The location of the configuration file can be changed by using `--config=`
|
|
||||||
# args: --timeout=30m --config=/scripts/.golangci.yml --issues-exit-code=0
|
|
||||||
|
|
||||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
|
||||||
only-new-issues: true
|
|
||||||
|
|
||||||
# Optional:The mode to install golangci-lint. It can be 'binary' or 'goinstall'.
|
|
||||||
# install-mode: "goinstall"
|
|
||||||
1
.github/workflows/openimci.yml
vendored
1
.github/workflows/openimci.yml
vendored
@ -36,6 +36,7 @@ on:
|
|||||||
- "CONTRIBUTING/**"
|
- "CONTRIBUTING/**"
|
||||||
- "**.md"
|
- "**.md"
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user