find-stone-beer / files / .fw-ci.yml
.fw-ci.yml
8e00f64e 2023-08-23 Pavel Safronov | 1 | image: golang:latest |
| 2 | ||
| 3 | stages: | |
| 4 | - build-and-test | |
5c3e4a5a 2023-08-23 Pavel Safronov | 5 | - run-and-deploy |
8e00f64e 2023-08-23 Pavel Safronov | 6 | |
| 7 | before_script: | |
| 8 | - go version | |
| 9 | - make --version | |
| 10 | ||
| 11 | build-job: | |
| 12 | stage: build-and-test | |
| 13 | script: | |
| 14 | - make build | |
| 15 | - make test | |
cc4e48df 2023-08-23 Pavel Safronov | 16 | |
97ba7d2c 2023-08-23 Pavel Safronov | 17 | pages: |
c8449619 2023-08-23 Pavel Safronov | 18 | stage: run-and-deploy |
97ba7d2c 2023-08-23 Pavel Safronov | 19 | script: |
5c3e4a5a 2023-08-23 Pavel Safronov | 20 | - make run |
97ba7d2c 2023-08-23 Pavel Safronov | 21 | artifacts: |
| 22 | paths: | |
| 23 | - public | |
| 24 | only: | |
| 25 | - main |