diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ad8e6e8..9a99543 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.16 + go-version: '1.24' - name: Set up Git run: git config --global user.email "grdl@example.com" && git config --global user.name "grdl" - name: Run go test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 237219c..88fd88f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,15 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5 with: - go-version: 1.16 + go-version: '1.24' - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2 + uses: goreleaser/goreleaser-action@v6 with: - version: v0.168.0 + version: latest args: release --rm-dist env: GITHUB_TOKEN: ${{ secrets.GORELEASER_TOKEN }} diff --git a/.gitignore b/.gitignore index 3b3528c..a17c79c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ dist/ -__debug_bin \ No newline at end of file +__debug_bin +.claude/ +CLAUDE.md diff --git a/go.mod b/go.mod index ad9943d..873adef 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,35 @@ module git-get -go 1.16 +go 1.24 require ( github.com/karrick/godirwalk v1.15.6 - github.com/kr/text v0.2.0 // indirect - github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect github.com/spf13/cobra v1.0.0 github.com/spf13/viper v1.7.0 github.com/stretchr/testify v1.6.0 github.com/xlab/treeprint v1.0.0 - golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 // indirect - gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect +) + +require ( + github.com/davecgh/go-spew v1.1.1 // indirect + github.com/fsnotify/fsnotify v1.4.7 // indirect + github.com/hashicorp/hcl v1.0.0 // indirect + github.com/inconshreveable/mousetrap v1.0.0 // indirect + github.com/kr/text v0.2.0 // indirect + github.com/magiconair/properties v1.8.1 // indirect + github.com/mitchellh/mapstructure v1.1.2 // indirect + github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect + github.com/pelletier/go-toml v1.2.0 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect + github.com/spf13/afero v1.1.2 // indirect + github.com/spf13/cast v1.3.0 // indirect + github.com/spf13/jwalterweatherman v1.0.0 // indirect + github.com/spf13/pflag v1.0.3 // indirect + github.com/subosito/gotenv v1.2.0 // indirect + golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 // indirect + golang.org/x/text v0.3.2 // indirect + gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect + gopkg.in/ini.v1 v1.51.0 // indirect + gopkg.in/yaml.v2 v2.2.4 // indirect + gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect )