From 0c455c401a07c43b82c086d2ae69b2817cc3af11 Mon Sep 17 00:00:00 2001 From: petoju Date: Wed, 21 Feb 2024 23:00:58 +0100 Subject: [PATCH] Update CircleCI to newer Golang, remove deprecated "make test" (#115) --- .circleci/config.yml | 15 ++++----------- .travis.yml | 2 +- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 919c791b..294bddd4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,26 +3,19 @@ version: 2.1 jobs: - gotest: + govet: docker: - - image: golang:1.20 + - image: golang:1.21 working_directory: /terraform-provider-mysql steps: - checkout - - run: - name: Test - environment: - # DB override is there only to skip some tests. - DB: mysql:something - command: | - make test - run: name: Vet command: | make vet integration: machine: - image: ubuntu-2004:current + image: ubuntu-2204:current docker_layer_caching: true parameters: target: @@ -46,4 +39,4 @@ workflows: matrix: parameters: target: ["testversion5.6", "testversion5.7", "testversion8.0", "testpercona5.7", "testpercona8.0", "testmariadb10.3", "testmariadb10.8", "testmariadb10.10", "testtidb6.1.0"] - - gotest + - govet diff --git a/.travis.yml b/.travis.yml index 783458ce..dd1fddd0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ sudo: required language: go go: - - "1.18.x" + - "1.21.x" env: - DB=mysql:5.6 DB_EXTRA=''