From 29e8e83fc92f45ff80d20a2ef50919e606bd7399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petra=20C=CC=8Ci=CC=81halova=CC=81?= Date: Wed, 24 Apr 2024 14:06:01 +0200 Subject: [PATCH] update GO version in github workflows, docker-compose file and pr-check script --- .github/workflows/actions.yml | 8 ++++---- docker-compose.yaml | 2 +- pr_check.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 6069f5569..8192c3eba 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: "1.17" + go-version: "1.18" - uses: Jerome1337/gofmt-action@v1.0.4 govet: @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: "1.17" + go-version: "1.18" - run: | go vet ./... @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: "1.17" + go-version: "1.18" - name: golangci-lint uses: golangci/golangci-lint-action@v2 with: @@ -49,6 +49,6 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-go@v2 with: - go-version: "1.17" + go-version: "1.18" - run: | go test ./... diff --git a/docker-compose.yaml b/docker-compose.yaml index 87965bfe9..9b2769c36 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -2,7 +2,7 @@ version: '3' services: sources-api-db-setup: - image: golang:1.17 + image: golang:1.18 entrypoint: "bash" command: - -c diff --git a/pr_check.sh b/pr_check.sh index 6bee73a23..0a7d08667 100755 --- a/pr_check.sh +++ b/pr_check.sh @@ -55,7 +55,7 @@ export DATABASE_NAME=sources_api_test_go echo "Running tests...here we go" -export GOROOT="/opt/go/1.17.8" +export GOROOT="/opt/go/1.18.10" export PATH="${GOROOT}/bin:${PATH}" make alltest