diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 5e9191c..fb4c21e 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -24,7 +24,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' - name: Install mise and all workspace tools uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3 @@ -56,7 +56,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' - name: Install mise and all workspace tools uses: jdx/mise-action@5228313ee0372e111a38da051671ca30fc5a96db # v3.6.3 @@ -101,7 +101,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' - name: Build binaries and Docker image with GoReleaser uses: goreleaser/goreleaser-action@ec59f474b9834571250b370d4735c50f8e2d1e29 # v7.0.0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5133fc8..8ed7357 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: - name: Set up Go uses: actions/setup-go@4b73464bb391d4059bd26b0524d20df3927bd417 # v6.3.0 with: - go-version-file: 'go.mod' + go-version-file: '.go-version' - name: Login to GitHub Container Registry uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 diff --git a/.go-version b/.go-version index f1968aa..dd43a14 100644 --- a/.go-version +++ b/.go-version @@ -1 +1 @@ -1.25.7 +1.26.1 diff --git a/go.mod b/go.mod index 82e3b24..4eee013 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/patrickhoefler/dockerfilegraph -go 1.25.7 +go 1.26 + +toolchain go1.26.1 require ( github.com/aquilax/truncate v1.0.1