diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a5be998 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "monthly" + reviewers: + - "furusax0621" + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + reviewers: + - "furusax0621" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 02270f7..60ed869 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,20 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: check out code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: set up Go 1.17 - uses: actions/setup-go@v2 + - name: set up Go + uses: actions/setup-go@v4 with: - go-version: "1.17" - - - name: restore cache - uses: actions/cache@v2 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + go-version-file: "go.mod" - name: test run: | diff --git a/go.mod b/go.mod index 05e0296..5536d95 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/furusax0621/go-nabeatsu -go 1.17 +go 1.21 -require golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 +require golang.org/x/term v0.14.0 -require golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect +require golang.org/x/sys v0.14.0 // indirect diff --git a/go.sum b/go.sum index 26b086d..c2b3f18 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 h1:SrN+KX8Art/Sf4HNj6Zcz06G7VEz+7w9tdXTPOZ7+l4= -golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= -golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= +golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/term v0.14.0 h1:LGK9IlZ8T9jvdy6cTdfKUCltatMFOehAQo9SRC46UQ8= +golang.org/x/term v0.14.0/go.mod h1:TySc+nGkYR6qt8km8wUhuFRTVSMIX3XPR58y2lC8vww=