Skip to content

Commit fb0fd95

Browse files
author
Adam Hughes
committed
Remove use of 'defaults' anchor
1 parent 9e6e029 commit fb0fd95

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.circleci/config.yml

+8-10
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ version: 2.1
33
orbs:
44
codecov: codecov/[email protected]
55

6-
defaults: &defaults
7-
working_directory: /src
8-
docker:
9-
- image: golang:1.14
10-
116
jobs:
127
lint_markdown:
13-
<<: *defaults
148
docker:
159
- image: node:14-slim
1610
steps:
@@ -23,7 +17,8 @@ jobs:
2317
command: markdownlint .
2418

2519
check_mod_tidy:
26-
<<: *defaults
20+
docker:
21+
- image: golang:1.14
2722
steps:
2823
- checkout
2924
- run:
@@ -33,15 +28,17 @@ jobs:
3328
git diff --exit-code -- go.mod go.sum
3429
3530
build_source:
36-
<<: *defaults
31+
docker:
32+
- image: golang:1.14
3733
steps:
3834
- checkout
3935
- run:
4036
name: Build Source
4137
command: go build ./...
4238

4339
lint_source:
44-
<<: *defaults
40+
docker:
41+
- image: golang:1.14
4542
steps:
4643
- checkout
4744
- run:
@@ -52,7 +49,8 @@ jobs:
5249
command: golangci-lint run
5350

5451
unit_test:
55-
<<: *defaults
52+
docker:
53+
- image: golang:1.14
5654
steps:
5755
- checkout
5856
- run:

0 commit comments

Comments
 (0)