diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index da9b8a144..c54848b68 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -21,7 +21,7 @@ jobs: - name: Set Up Golang Environment uses: actions/setup-go@v4 with: - go-version: 1.20.3 + go-version: 1.20.4 - name: Build CLI Binary run: | diff --git a/.github/workflows/gitee-sync.yml b/.github/workflows/gitee-sync.yml new file mode 100644 index 000000000..290c8f272 --- /dev/null +++ b/.github/workflows/gitee-sync.yml @@ -0,0 +1,28 @@ +on: + push: + branches: + - main + tags: + - "*" + +name: Sync to Gitee +jobs: + run: + name: Run + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@v3 + - name: Mirror Github to Gitee + uses: Yikun/hub-mirror-action@v1.2 + with: + src: github/gogf + dst: gitee/johng + dst_key: ${{ secrets.GITEE_PRIVATE_KEY }} + dst_token: ${{ secrets.GITEE_TOKEN }} + src_account_type: org + dst_account_type: user + timeout: 600 + debug: true + force_update: true + static_list: "gf" \ No newline at end of file diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 39b629fc9..54a18154d 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -36,7 +36,7 @@ jobs: golangci: strategy: matrix: - go-version: [1.15.x,1.16.x,1.17.x,1.18.x] + go-version: [1.15.x,1.16.x,1.17.x,1.18.x,1.19.x,1.20.x] name: golangci-lint runs-on: ubuntu-latest steps: