2
0
mirror of https://github.com/offen/website.git synced 2024-10-18 12:10:25 +02:00
website/.circleci/config.yml

23 lines
494 B
YAML

version: 2
jobs:
build:
docker:
- image: circleci/golang:1.12
working_directory: ~/offen
steps:
- checkout
- restore_cache:
key: v1-dependencies-{{ checksum "server/go.mod" }}
- run:
name: Download modules
command: go mod download
- save_cache:
paths:
- /go/pkg/mod
key: v1-dependencies-{{ checksum "server/go.mod" }}
- run:
name: Run tests
command: make test