feat(api_event_callback): 事件回调接口增加输入框的值 #1310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: go-test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.18 | |
- name: Build | |
run: | | |
go build -v ./... | |
go install github.com/chyroc/rerun-fail-test@latest | |
- name: Test | |
run: | | |
export IN_CI=1 | |
./.github/test.sh | |
env: | |
LARK_APP_NO_PERMISSION_APP_ID: ${{ secrets.LARK_APP_NO_PERMISSION_APP_ID }} | |
LARK_APP_NO_PERMISSION_APP_SECRET: ${{ secrets.LARK_APP_NO_PERMISSION_APP_SECRET }} | |
LARK_APP_ALL_PERMISSION_APP_ID: ${{ secrets.LARK_APP_ALL_PERMISSION_APP_ID }} | |
LARK_APP_ALL_PERMISSION_APP_SECRET: ${{ secrets.LARK_APP_ALL_PERMISSION_APP_SECRET }} | |
LARK_HELPDESK_ALL_PERMISSION_ID: ${{ secrets.LARK_HELPDESK_ALL_PERMISSION_ID }} | |
LARK_HELPDESK_ALL_PERMISSION_TOKEN: ${{ secrets.LARK_HELPDESK_ALL_PERMISSION_TOKEN }} | |
LARK_USER_ADMIN_USER_ID: ${{ secrets.LARK_USER_ADMIN_USER_ID }} | |
LARK_USER_ADMIN_OPEN_ID: ${{ secrets.LARK_USER_ADMIN_OPEN_ID }} | |
LARK_USER_ADMIN_NAME: ${{ secrets.LARK_USER_ADMIN_NAME }} | |
LARK_CHAT_CONTAINS_APP_PERMISSION_APP_CHAT_ID: ${{ secrets.LARK_CHAT_CONTAINS_APP_PERMISSION_APP_CHAT_ID }} | |
LARK_CHAT_NOT_CONTAINS_APP_PERMISSION_APP_CHAT_ID: ${{ secrets.LARK_CHAT_NOT_CONTAINS_APP_PERMISSION_APP_CHAT_ID }} | |
LARK_CHAT_FOR_SEND_MSG_CHAT_ID: ${{ secrets.LARK_CHAT_FOR_SEND_MSG_CHAT_ID }} | |
LARK_FILE_KEY_TEST_FILE_1_PNG: ${{ secrets.LARK_FILE_KEY_TEST_FILE_1_PNG }} | |
LARK_FILE_KEY_TEST_FILE_2_DOC: ${{ secrets.LARK_FILE_KEY_TEST_FILE_2_DOC }} | |
LARK_MESSAGE_ADMIN_SEND_TEST_IN_CHAT_CONTAINS_ALL_PERMISSION_APP: ${{ secrets.LARK_MESSAGE_ADMIN_SEND_TEST_IN_CHAT_CONTAINS_ALL_PERMISSION_APP }} | |
LARK_MESSAGE_ADMIN_SEND_IMAGE_IN_CHAT_CONTAINS_ALL_PERMISSION_APP: ${{ secrets.LARK_MESSAGE_ADMIN_SEND_IMAGE_IN_CHAT_CONTAINS_ALL_PERMISSION_APP }} | |
LARK_MESSAGE_ALL_PERMISSION_APP_SEND_TEXT_IN_CHAT_CONTAINS_ALL_PERMISSION_APP: ${{ secrets.LARK_MESSAGE_ALL_PERMISSION_APP_SEND_TEXT_IN_CHAT_CONTAINS_ALL_PERMISSION_APP }} | |
LARK_APPROVAL_ALL_FIELD: ${{ secrets.LARK_APPROVAL_ALL_FIELD }} | |
LARK_ACCESS_TOKEN_ALL_PERMISSION_APP: ${{ secrets.LARK_ACCESS_TOKEN_ALL_PERMISSION_APP }} | |
LARK_REFRESH_TOKEN_ALL_PERMISSION_APP: ${{ secrets.LARK_REFRESH_TOKEN_ALL_PERMISSION_APP }} | |
LARK_APP_CUSTOM_BOT_NO_VALID_WEBHOOK_URL: ${{ secrets.LARK_APP_CUSTOM_BOT_NO_VALID_WEBHOOK_URL }} | |
LARK_APP_CUSTOM_BOT_CHECK_CAN_SEND_WEBHOOK_URL: ${{ secrets.LARK_APP_CUSTOM_BOT_CHECK_CAN_SEND_WEBHOOK_URL }} | |
LARK_APP_CUSTOM_BOT_CHECK_SIGN_WEBHOOK_URL: ${{ secrets.LARK_APP_CUSTOM_BOT_CHECK_SIGN_WEBHOOK_URL }} | |
LARK_APP_CUSTOM_BOT_CHECK_SIGN_SIGN: ${{ secrets.LARK_APP_CUSTOM_BOT_CHECK_SIGN_SIGN }} | |
- name: Upload Cov | |
run: bash <(curl -s https://codecov.io/bash) |