diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index ab72e5a..7668a2a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,20 +5,20 @@ jobs: strategy: matrix: go: - - '1.20' - '1.21' + - '1.22' name: Build runs-on: ubuntu-latest steps: - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version: ${{ matrix.go }} id: go - name: Check out code into the Go module directory - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build & Test run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e348dbf..9b981d3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,13 +22,13 @@ jobs: with: ref: ${{ inputs.tag || github.ref }} - name: Set up Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: - go-version: 1.21 + go-version: 1.22 - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v1 + uses: goreleaser/goreleaser-action@v2 with: - version: latest + version: '~> v2' args: release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tagpr.yml b/.github/workflows/tagpr.yml index dd426fe..fe8ff6a 100644 --- a/.github/workflows/tagpr.yml +++ b/.github/workflows/tagpr.yml @@ -6,7 +6,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: Songmu/tagpr@main env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/Makefile b/Makefile index 14a5867..da67cda 100644 --- a/Makefile +++ b/Makefile @@ -13,4 +13,4 @@ install: go install github.com/fujiwara/ecrm/cmd/ecrm dist: - goreleaser build --snapshot --rm-dist + goreleaser build --snapshot --clean