From 3b333e3bbe0e8c8f70f8ae126a6fe67067f67325 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 16 Aug 2022 01:17:44 +0700 Subject: [PATCH] chore: update github action --- .github/workflows/go.yml | 6 +++--- .github/workflows/goreleaser.yml | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f0c5bae..bd83b3d 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/changeloguru @@ -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 2062366..635282e 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -15,10 +15,12 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v3 with: - go-version: "~1.18" - - uses: goreleaser/goreleaser-action@v2 + go-version: "1.19" + check-latest: true + cache: true + - uses: goreleaser/goreleaser-action@v3 with: distribution: goreleaser version: latest