From 110509a3160a42a7def02f1d09c934ba7960bcdc Mon Sep 17 00:00:00 2001 From: Tomoya Amachi Date: Mon, 6 Jan 2025 14:43:03 +0900 Subject: [PATCH] update release buildfile (#271) * update release buildfile * update go version --- .github/workflows/releasebuild.yml | 6 +++--- go.mod | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/releasebuild.yml b/.github/workflows/releasebuild.yml index 8731e5e..912f5ef 100644 --- a/.github/workflows/releasebuild.yml +++ b/.github/workflows/releasebuild.yml @@ -15,9 +15,9 @@ jobs: - uses: actions/checkout@master with: fetch-depth: 0 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v5 with: - go-version: '1.21' + go-version-file: 'go.mod' - uses: actions/cache@v3.2.2 with: path: ~/go/pkg/mod @@ -45,7 +45,7 @@ jobs: uses: goreleaser/goreleaser-action@v2 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} - diff --git a/go.mod b/go.mod index cd9f6d3..cf25855 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/goodwithtech/dockle -go 1.22.7 - -toolchain go1.22.10 +go 1.22.10 require ( github.com/containers/image/v5 v5.33.0