-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add .circleci/config.yml * Escape un-used var * Fix cache behavior * Update config.yml * Update README.md
- Loading branch information
Shugo Kawamura
authored
Mar 19, 2021
1 parent
55d7fb4
commit d8042b6
Showing
3 changed files
with
32 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference | ||
version: 2.1 | ||
jobs: | ||
build: | ||
working_directory: ~/repo | ||
docker: | ||
- image: circleci/golang:1.16.2-node | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- go-mod-v4-{{ checksum "server/go.sum" }} | ||
- run: | ||
name: Install Dependencies | ||
command: make deps | ||
- save_cache: | ||
key: go-mod-v4-{{ checksum "server/go.sum" }} | ||
paths: | ||
- "/go/pkg/mod" | ||
- run: | ||
name: Build | ||
command: | | ||
make | ||
- store_test_results: | ||
path: /tmp/test-reports |
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
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