Skip to content

Commit

Permalink
Update CircleCI to newer Golang, remove deprecated "make test" (petoj…
Browse files Browse the repository at this point in the history
  • Loading branch information
petoju authored Feb 21, 2024
1 parent 50e23b3 commit 0c455c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
15 changes: 4 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sudo: required
language: go

go:
- "1.18.x"
- "1.21.x"

env:
- DB=mysql:5.6 DB_EXTRA=''
Expand Down

0 comments on commit 0c455c4

Please sign in to comment.