diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 6069f556..8192c3eb 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 87965bfe..9b2769c3 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 6bee73a2..aef417e6 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.1" export PATH="${GOROOT}/bin:${PATH}" make alltest