Skip to content

Commit 1b9e9f6

Browse files
Try caching to shorten build time (#4)
1 parent 4006750 commit 1b9e9f6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 2.1
22

3+
orbs:
4+
go: circleci/[email protected]
5+
36
workflows:
47
main:
58
jobs:
@@ -11,12 +14,14 @@ jobs:
1114
- image: cimg/go:1.17.7
1215
steps:
1316
- checkout
17+
- go/load-cache
18+
- go/mod-download
1419
- run:
1520
name: "Download Dependancies"
1621
command: |
17-
go mod download
1822
sudo apt-get update && sudo apt-get install -y libappindicator3-dev libgtk-3-dev
1923
- run:
2024
name: "Run Tests"
2125
command: |
2226
./build.sh -v ./...
27+
- go/save-cache

0 commit comments

Comments
 (0)