From 28084c365ae9ddca03c06d32e73067739395fe79 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sat, 13 Aug 2022 17:13:31 +0700 Subject: [PATCH] chore: bump go 1.19 in github action --- .github/workflows/go.yaml | 19 ++++--------------- .github/workflows/goreleaser.yaml | 2 +- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 0ae1222..38822fe 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -16,10 +16,10 @@ 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 -failfast ./... + - run: go test -race -failfast . build: name: Build runs-on: ${{ matrix.os }} @@ -30,21 +30,10 @@ 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 - try-4-real: - name: try 4 real - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-go@v3 - with: - go-version: "1.18" - check-latest: true - cache: true - - run: make test-color golangci-lint: name: golangci-lint runs-on: ubuntu-latest @@ -52,7 +41,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.yaml b/.github/workflows/goreleaser.yaml index 5465865..84c7830 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -17,7 +17,7 @@ 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