version: '3' services: build: &build build: . command: make build volumes: - .:/src networks: - ns fmt: <<: *build command: make fmt lint: <<: *build command: make lint test: <<: *build command: make test