From d1649cfbcfb940fd0d99bcdc686b40d0043657c0 Mon Sep 17 00:00:00 2001 From: Parham Alvani Date: Tue, 13 Feb 2024 03:48:26 +0000 Subject: [PATCH] feat: update go version --- .github/workflows/test.yaml | 4 ++-- go.mod | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0ac34a7..4f861ff 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version: 1.21 - name: golangci-lint uses: golangci/golangci-lint-action@v4 with: @@ -24,7 +24,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.19 + go-version: 1.21 - run: docker-compose up -d - run: go run main.go migrate - run: go test -v ./... -covermode=atomic -coverprofile=coverage.out diff --git a/go.mod b/go.mod index d972890..9c2e7af 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/1995parham-teaching/song_cloud -go 1.19 +go 1.21 require ( github.com/golang-migrate/migrate/v4 v4.17.0