From 16c6c7b531c5b86f5e1099181e5206bca454fc78 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 16 Aug 2022 10:41:01 +0700 Subject: [PATCH] chore: update github action --- .github/workflows/go.yml | 6 +++--- .github/workflows/goreleaser.yml | 4 ++-- .goreleaser.yml | 3 ++- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c2f8b42..4415437 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.19" check-latest: true cache: true - run: go test -race -coverprofile=coverage.out ./... @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.19" check-latest: true cache: true - run: go build ./cmd/update-go-mod @@ -44,7 +44,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.19" check-latest: true cache: true - uses: golangci/golangci-lint-action@v3 diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 5465865..635282e 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -17,10 +17,10 @@ jobs: fetch-depth: 0 - uses: actions/setup-go@v3 with: - go-version: "1.18" + go-version: "1.19" check-latest: true cache: true - - uses: goreleaser/goreleaser-action@v2 + - uses: goreleaser/goreleaser-action@v3 with: distribution: goreleaser version: latest diff --git a/.goreleaser.yml b/.goreleaser.yml index 0102bc6..ef3fa87 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -17,4 +17,5 @@ archives: - goos: windows format: zip changelog: - skip: true + skip: false + use: github