-
-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec3478d
commit 72220ea
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
version: 2.1 | ||
orbs: | ||
go: circleci/go@1.11.0 | ||
jobs: | ||
test-go: | ||
parameters: | ||
go-version: | ||
type: string | ||
executor: | ||
name: go/default | ||
tag: << parameters.go-version >> | ||
steps: | ||
- checkout | ||
- go/load-cache | ||
- go/mod-download | ||
- go/save-cache | ||
- run: | ||
name: Run tests | ||
command: make test_ci | ||
# version: 2.1 | ||
# orbs: | ||
# go: circleci/go@1.11.0 | ||
# jobs: | ||
# test-go: | ||
# parameters: | ||
# go-version: | ||
# type: string | ||
# executor: | ||
# name: go/default | ||
# tag: << parameters.go-version >> | ||
# steps: | ||
# - checkout | ||
# - go/load-cache | ||
# - go/mod-download | ||
# - go/save-cache | ||
# - run: | ||
# name: Run tests | ||
# command: make test_ci | ||
|
||
workflows: | ||
test: | ||
jobs: | ||
- test-go: | ||
matrix: | ||
parameters: | ||
go-version: ["1.20", "1.21", "1.22"] | ||
# workflows: | ||
# test: | ||
# jobs: | ||
# - test-go: | ||
# matrix: | ||
# parameters: | ||
# go-version: ["1.20", "1.21", "1.22"] |