Skip to content

Commit

Permalink
feat: upgrade gitee sync Hub Mirror Action
Browse files Browse the repository at this point in the history
  • Loading branch information
houseme committed Jan 17, 2024
1 parent f87182d commit 2a8804b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gitee-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ on:
tags:
- "*"

name: Sync to Gitee
name: Sync to GitEE
jobs:
run:
name: Run
runs-on: ubuntu-latest
steps:
- name: Checkout source code
uses: actions/checkout@v4
- name: Mirror Github to Gitee
uses: Yikun/hub-mirror-action@v1.2
- name: Mirror GitHub to GitEE
uses: Yikun/hub-mirror-action@v1.3
with:
src: github/gogf
dst: gitee/johng
Expand Down
5 changes: 3 additions & 2 deletions cmd/gf/internal/cmd/cmd_z_unit_gen_ctrl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
package cmd

import (
"path/filepath"
"testing"

"github.com/gogf/gf/cmd/gf/v2/internal/cmd/genctrl"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/test/gtest"
"github.com/gogf/gf/v2/util/guid"
"github.com/gogf/gf/v2/util/gutil"
"path/filepath"
"testing"
)

func Test_Gen_Ctrl_Default(t *testing.T) {
Expand Down
5 changes: 3 additions & 2 deletions cmd/gf/internal/cmd/cmd_z_unit_gen_service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
package cmd

import (
"path/filepath"
"testing"

"github.com/gogf/gf/cmd/gf/v2/internal/cmd/genservice"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/test/gtest"
"github.com/gogf/gf/v2/util/guid"
"github.com/gogf/gf/v2/util/gutil"
"path/filepath"
"testing"
)

func Test_Gen_Service_Default(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/gf/internal/cmd/genservice/genservice_calculate.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ package genservice

import (
"fmt"
"github.com/gogf/gf/v2/container/gmap"
"go/parser"
"go/token"

"github.com/gogf/gf/v2/container/garray"
"github.com/gogf/gf/v2/container/gmap"
"github.com/gogf/gf/v2/text/gregex"
"github.com/gogf/gf/v2/text/gstr"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ package article

import (
"context"

"github.com/gogf/gf/cmd/gf/v2/internal/cmd/testdata/genservice/service"
)

Expand Down
1 change: 1 addition & 0 deletions cmd/gf/internal/utility/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package utils
import (
"context"
"fmt"

"golang.org/x/tools/imports"

"github.com/gogf/gf/cmd/gf/v2/internal/consts"
Expand Down

0 comments on commit 2a8804b

Please sign in to comment.