Skip to content

Commit

Permalink
CircleCI: run tests against Go 1.15 and Go 1.16
Browse files Browse the repository at this point in the history
  • Loading branch information
yosida95 committed Aug 4, 2021
1 parent 096ca41 commit 38ea987
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .circleci/config.yml
Expand Up @@ -2,22 +2,16 @@
version: 2.1
orbs:
go: circleci/go@1.6.0
executors:
go:
jobs:
build:
docker:
- image: cimg/go:<< parameters.tag >>
environment:
GOOS: 'linux'
GOARCH: 'amd64'
parameters:
tag:
type: string
jobs:
build:
executor:
name: go
tag: '1.14'
environment:
GOOS: 'linux'
GOARCH: 'amd64'
ARTIFACTS: /tmp/artifacts
TEST_RESULTS: /tmp/test-results
steps:
Expand Down Expand Up @@ -50,5 +44,10 @@ workflows:
version: 2
build:
jobs:
- build: {}
...
- build:
name: build-go<< matrix.tag >>
matrix:
parameters:
tag:
- "1.15"
- "1.16"

0 comments on commit 38ea987

Please sign in to comment.