mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 08:47:42 -05:00
14 lines
260 B
YAML
14 lines
260 B
YAML
|
version: '2'
|
||
|
services:
|
||
|
go-json:
|
||
|
image: golang:1.16
|
||
|
volumes:
|
||
|
- '.:/go/src/go-json'
|
||
|
deploy:
|
||
|
resources:
|
||
|
limits:
|
||
|
memory: 620M
|
||
|
working_dir: /go/src/go-json
|
||
|
command: |
|
||
|
sh -c "go test -c . && ls go-json.test"
|